LogEntry Properties

Include Protected Members
Include Inherited Members

The LogEntry type exposes the following members.

Properties

  Name Description
Public property ActivityId
Tracing activity id
Public property ActivityIdString
Tracing activity id as a string to support WMI Queries
Public property AppDomainName
The AppDomain in which the program is running
Public property Categories
Category name used to route the log entry to a one or more trace listeners.
Public property 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
Public propertyStatic member DefaultTitle
Gets the default title for an entry.
Public property ErrorMessages
Gets the error message with the LogEntry
Public property EventId
Event number or identifier.
Public property ExtendedProperties
Dictionary of key/value pairs to record.
Public property LoggedSeverity

Gets the string representation of the Severity enumeration.

Public property MachineName
Name of the computer.
Public property ManagedThreadName
The name of the .NET thread.
Public property Message
Message body to log. Value from ToString() method from message object.
Public property Priority
Importance of the log message. Only messages whose priority is between the minimum and maximum priorities (inclusive) will be processed.
Public property ProcessId
The Win32 process ID for the current running process.
Public property ProcessName
The name of the current running process.
Public property RelatedActivityId
Related activity id
Public property Severity
Log entry severity as a Severity enumeration. (Unspecified, Information, Warning or Error).
Public property TimeStamp
Date and time of the log entry message.
Public property TimeStampString
Read-only property that returns the timeStamp formatted using the current culture.
Public property Title
Additional description of the log entry message.
Public property Win32ThreadId
The Win32 Thread ID for the current thread.

See Also

LogEntry Class

Microsoft.Practices.EnterpriseLibrary.Logging Namespace