Class LogMessage
A message that has been logged.
public class LogMessage
- Inheritance
-
LogMessage
- Inherited Members
Properties
Context
The context associated with that message.
public Object Context { get; }
Property Value
- Object
Exception
The exception associated with that message.
public Exception Exception { get; }
Property Value
IsDiscarded
Returns true if this is a discarded log message.
public bool IsDiscarded { get; set; }
Property Value
- See Also
Level
The log level of the message.
public LogLevel Level { get; }
Property Value
Message
The text content of the message.
public string Message { get; }
Property Value
SourceCategories
The categories associated with that message, from higher to lower priority.
public IReadOnlyList<string> SourceCategories { get; }
Property Value
StackTrace
The stack trace of where the message was logged. May be null.
public StackTrace StackTrace { get; }
Property Value
Timestamp
When the message was logged.
public DateTime Timestamp { get; }