Struct LogCapture.Message
Information about a captured log message.
Inherited Members
Namespace: LaunchDarkly.Logging
Assembly: LaunchDarkly.Logging.dll
Syntax
public struct LogCapture.Message
  Constructors
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
Level
The log level of the message.
Declaration
public LogLevel Level { get; }
  Property Value
| Type | Description | 
|---|---|
| LogLevel | 
LoggerName
The name of the logger that produced the message.
Declaration
public string LoggerName { get; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Text
The text of the message, after any parameters have been substituted.
Declaration
public string Text { get; }
  Property Value
| Type | Description | 
|---|---|
| string | 
Methods
ToString()
Summarizes the message in the format "[LoggerName] LEVEL: text".
Declaration
public override string ToString()
  Returns
| Type | Description | 
|---|---|
| string | a descriptive string  |