LaunchDarkly Logging API for .NET
Search Results for

    Show / Hide Table of Contents

    Struct LogCapture.Message

    Information about a captured log message.

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: LaunchDarkly.Logging
    Assembly: LaunchDarkly.Logging.dll
    Syntax
    public struct LogCapture.Message

    Constructors

    | Edit this page View Source

    Message(string, LogLevel, string)

    Constructs a new instance.

    Declaration
    public Message(string loggerName, LogLevel level, string text)
    Parameters
    Type Name Description
    string loggerName

    the name of the logger that produced the message

    LogLevel level

    the log level of the message

    string text

    the text of the message, after any parameters have been substituted

    Properties

    | Edit this page View Source

    Level

    The log level of the message.

    Declaration
    public LogLevel Level { get; }
    Property Value
    Type Description
    LogLevel
    | Edit this page View Source

    LoggerName

    The name of the logger that produced the message.

    Declaration
    public string LoggerName { get; }
    Property Value
    Type Description
    string
    | Edit this page View Source

    Text

    The text of the message, after any parameters have been substituted.

    Declaration
    public string Text { get; }
    Property Value
    Type Description
    string

    Methods

    | Edit this page View Source

    ToString()

    Summarizes the message in the format "[LoggerName] LEVEL: text".

    Declaration
    public override string ToString()
    Returns
    Type Description
    string

    a descriptive string

    Overrides
    ValueType.ToString()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX