explain

Runs load and reports, for every field, the value used and which source it came from. Secrets are shown as ***. A value that fails conversion or validation is still listed with its source; the error itself is in ConfigReport.result. Useful for debugging which file or variable won:

println(loader.explain { loadAppConfig() })