IConfigurationBuilder.AddDiagnostics

IConfigurationBuilder.AddDiagnostics method

Enables diagnostics for the current configuration.

public IConfigurationBuilder AddDiagnostics(Action<IDiagnosticsBuilder> configure)
ParameterTypeDescription
configureAction`1The IDiagnosticsBuilder configuration delegate.

Return Value

The IConfigurationBuilder so that additional calls can be chained.

See Also