Class LoggingConfiguration
Encapsulates the SDK's general logging configuration.
Inherited Members
Namespace: LaunchDarkly.Sdk.Server.Subsystems
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public sealed class LoggingConfiguration
Constructors
| Edit this page View SourceLoggingConfiguration(string, ILogAdapter, TimeSpan?)
Constructs a new instance.
Declaration
public LoggingConfiguration(string baseLoggerName, ILogAdapter logAdapter, TimeSpan? logDataSourceOutageAsErrorAfter)
Parameters
Type | Name | Description |
---|---|---|
string | baseLoggerName | value for BaseLoggerName |
ILogAdapter | logAdapter | value for LogAdapter |
TimeSpan? | logDataSourceOutageAsErrorAfter | value for LogDataSourceOutageAsErrorAfter |
Properties
| Edit this page View SourceBaseLoggerName
The configured base logger name, or null
to use the default.
Declaration
public string BaseLoggerName { get; }
Property Value
Type | Description |
---|---|
string |
See Also
| Edit this page View SourceLogAdapter
The implementation of logging that the SDK will use.
Declaration
public ILogAdapter LogAdapter { get; }
Property Value
Type | Description |
---|---|
ILogAdapter |
See Also
| Edit this page View SourceLogDataSourceOutageAsErrorAfter
The time threshold, if any, after which the SDK will log a data source outage at Error
level
instead of Warn
level.
Declaration
public TimeSpan? LogDataSourceOutageAsErrorAfter { get; }
Property Value
Type | Description |
---|---|
TimeSpan? |