Class LoggingConfigurationBuilder
Inheritance
LoggingConfigurationBuilder
Assembly: LaunchDarkly.ServerSdk.dll
Syntax
public sealed class LoggingConfigurationBuilder : IComponentConfigurer<LoggingConfiguration>
Constructors
LoggingConfigurationBuilder()
Declaration
public LoggingConfigurationBuilder()
Fields
DefaultLogDataSourceAsErrorAfter
Declaration
public static readonly TimeSpan DefaultLogDataSourceAsErrorAfter
Field Value
Methods
Adapter(ILogAdapter)
Declaration
public LoggingConfigurationBuilder Adapter(ILogAdapter adapter)
Parameters
Returns
BaseLoggerName(string)
Declaration
public LoggingConfigurationBuilder BaseLoggerName(string baseLoggerName)
Parameters
Type |
Name |
Description |
string |
baseLoggerName |
|
Returns
Build(LdClientContext)
Declaration
public LoggingConfiguration Build(LdClientContext context)
Parameters
Returns
Level(LogLevel)
Declaration
public LoggingConfigurationBuilder Level(LogLevel minimumLevel)
Parameters
Type |
Name |
Description |
LogLevel |
minimumLevel |
|
Returns
LogDataSourceOutageAsErrorAfter(TimeSpan?)
Declaration
public LoggingConfigurationBuilder LogDataSourceOutageAsErrorAfter(TimeSpan? interval)
Parameters
Type |
Name |
Description |
TimeSpan? |
interval |
|
Returns
Implements