Log errors

Requires: logging module.

See error handling for cases where this logging is useful.

See logging documentationarrow-up-right for the log interface required here.

var providerSettings = new ConfigurationProviderSettings();

providerSettings = providerSettings.WithErrorLogging(log);

var provider = new ConfigurationProvider(providerSettings);
circle-info

Secret settings should be marked with an attribute to avoid being logged.

Last updated

Was this helpful?