LogEntry Properties
Include Protected Members
Include Inherited Members
The LogEntry type exposes the following members.
Properties
Name | Description | |
---|---|---|
ActivityId |
Tracing activity id
|
|
ActivityIdString |
Tracing activity id as a string to support WMI Queries
|
|
AppDomainName |
The AppDomain in which the program is running
|
|
Categories |
Category name used to route the log entry to a one or more trace listeners.
|
|
CategoriesStrings |
Category names used to route the log entry to a one or more trace listeners. This readonly property is available to support WMI queries
|
|
DefaultTitle |
Gets the default title for an entry.
|
|
ErrorMessages |
Gets the error message with the LogEntry
|
|
EventId |
Event number or identifier.
|
|
ExtendedProperties |
Dictionary of key/value pairs to record.
|
|
LoggedSeverity | Gets the string representation of the Severity enumeration. |
|
MachineName |
Name of the computer.
|
|
ManagedThreadName |
The name of the .NET thread.
|
|
Message |
Message body to log. Value from ToString() method from message object.
|
|
Priority |
Importance of the log message. Only messages whose priority is between the minimum and maximum priorities (inclusive) will be processed.
|
|
ProcessId |
The Win32 process ID for the current running process.
|
|
ProcessName |
The name of the current running process.
|
|
RelatedActivityId |
Related activity id
|
|
Severity |
Log entry severity as a Severity enumeration. (Unspecified, Information, Warning or Error).
|
|
TimeStamp |
Date and time of the log entry message.
|
|
TimeStampString |
Read-only property that returns the timeStamp formatted using the current culture.
|
|
Title |
Additional description of the log entry message.
|
|
Win32ThreadId |
The Win32 Thread ID for the current thread.
|