IDiagnosticsBuilder.AddLogging

IDiagnosticsBuilder.AddLogging method

Enables logs collection.

public IDiagnosticsBuilder AddLogging(ILogger logger)
ParameterTypeDescription
loggerILoggerImplementation of interface ILogger which will be used for logging.

Return Value

The IDiagnosticsBuilder so that additional calls can be chained.

See Also