LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Class LoggingConfiguration

    Encapsulates the SDK's general logging configuration.

    Inheritance
    object
    LoggingConfiguration
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: LaunchDarkly.Sdk.Server.Subsystems
    Assembly: LaunchDarkly.ServerSdk.dll
    Syntax
    public sealed class LoggingConfiguration

    Constructors

    | Edit this page View Source

    LoggingConfiguration(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 Source

    BaseLoggerName

    The configured base logger name, or null to use the default.

    Declaration
    public string BaseLoggerName { get; }
    Property Value
    Type Description
    string
    See Also
    BaseLoggerName(string)
    | Edit this page View Source

    LogAdapter

    The implementation of logging that the SDK will use.

    Declaration
    public ILogAdapter LogAdapter { get; }
    Property Value
    Type Description
    ILogAdapter
    See Also
    Adapter(ILogAdapter)
    | Edit this page View Source

    LogDataSourceOutageAsErrorAfter

    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?
    See Also
    LogDataSourceOutageAsErrorAfter(TimeSpan?)
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX