struct LogEvent

robot_2Generated
code_blocksInput

Description

The LogEvent struct in the Sandbox namespace is a sealed, public type that represents a logging event. It contains various properties that provide detailed information about the log entry, such as the log level, message, and timestamp. This struct is designed to be immutable, with all properties marked as read-only.

Members

Instance Properties

Member NameSummary
LevelGets the log level of the event, indicating the severity of the log message.
LoggerGets the name of the logger that generated the event.
MessageGets the log message associated with the event.
ExceptionGets the exception associated with the log event, if any.
HtmlMessageGets the HTML formatted version of the log message.
StackGets the stack trace associated with the log event.
TimeGets the timestamp of when the log event occurred.
ArgumentsGets the array of arguments that were used in the log message.
RepeatsGets the number of times this log event has been repeated.
IsDiagnosticIndicates whether the log event is for diagnostic purposes.