An event to be logged.
public sealed class LogEvent
| name | description |
|---|---|
| LogEvent() | The default constructor. |
| EventId { get; set; } | The id of the event, or 0 if there is no id. |
| Exception { get; set; } | The exception, if any. May be null. |
| LoggerName { get; set; } | The name (category) of the logger. Will not be null. |
| LogLevel { get; set; } | The importance of the event. |
| Message { get; set; } | The message. Will not be null, but may be the empty string. |
| Scope { get; set; } | The structured scope for the message, if any. Will not be null, but may be an empty sequence. |
| State { get; set; } | The structured state for the message, if any. May be null. |