LogEventInfo Properties |
The LogEventInfo type exposes the following members.
| Name | Description | |
|---|---|---|
| CallerClassName |
Gets the callsite class name
| |
| CallerFilePath |
Gets the callsite source file path
| |
| CallerLineNumber |
Gets the callsite source file line number
| |
| CallerMemberName |
Gets the callsite member function name
| |
| Exception |
Gets or sets the exception information.
| |
| FormatProvider |
Gets or sets the format provider that was provided while logging or
when no formatProvider was specified.
| |
| FormattedMessage |
Gets the formatted message.
| |
| HasProperties |
Checks if any per-event properties (Without allocation)
| |
| HasStackTrace |
Gets a value indicating whether stack trace has been set for this event.
| |
| Level |
Gets or sets the level of the logging event.
| |
| LoggerName |
Gets or sets the logger name.
| |
| Message |
Gets or sets the log message including any parameter placeholders.
| |
| MessageFormatter |
Gets or sets the message formatter for generating FormattedMessage
Uses string.Format(...) when nothing else has been configured.
| |
| MessageTemplateParameters |
Gets the named parameters extracted from parsing Message as MessageTemplate
| |
| Parameters |
Gets or sets the parameter values or null if no parameters have been specified.
| |
| Properties |
Gets the dictionary of per-event context properties.
| |
| StackTrace |
Gets the entire stack trace.
| |
| TimeStamp |
Gets or sets the timestamp of the logging event.
|