LaunchDarkly Dotnet Server SDK
Search Results for

    Show / Hide Table of Contents

    Class LogCapture

    Inheritance
    object
    LogCapture
    Implements
    ILogAdapter
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: LaunchDarkly.Logging
    Assembly: LaunchDarkly.Logging.dll
    Syntax
    public class LogCapture : ILogAdapter

    Constructors

    LogCapture()

    Declaration
    public LogCapture()

    Methods

    GetMessageStrings()

    Declaration
    public List<string> GetMessageStrings()
    Returns
    Type Description
    List<string>

    GetMessages()

    Declaration
    public List<LogCapture.Message> GetMessages()
    Returns
    Type Description
    List<LogCapture.Message>

    HasMessageWithRegex(LogLevel, string)

    Declaration
    public bool HasMessageWithRegex(LogLevel level, string pattern)
    Parameters
    Type Name Description
    LogLevel level
    string pattern
    Returns
    Type Description
    bool

    HasMessageWithText(LogLevel, string)

    Declaration
    public bool HasMessageWithText(LogLevel level, string text)
    Parameters
    Type Name Description
    LogLevel level
    string text
    Returns
    Type Description
    bool

    NewChannel(string)

    Declaration
    public IChannel NewChannel(string name)
    Parameters
    Type Name Description
    string name
    Returns
    Type Description
    IChannel

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    ILogAdapter

    Extension Methods

    ILogAdapterExtensions.Level(ILogAdapter, LogLevel)
    ILogAdapterExtensions.Logger(ILogAdapter, string)
    In this article
    Back to top Generated by DocFX