LogMessage

A log message that was created by a logger.

Members

Variables

exception
Nullable!ExceptionInfo exception;

The exception (if any) that was thrown when this message was logged.

level
Level level;

The log level for this message. This is an indication of the severity.

loggerName
string loggerName;

The name of the logger that produced this log message.

message
string message;

The actual content of the log message.

sourceContext
LogMessageSourceContext sourceContext;

Additional context about where this log message was generated in the program's source.

timestamp
SysTime timestamp;

The time at which this message occurred.