LogEntry Members
Include Protected Members
Include Inherited Members
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |
The LogEntry type exposes the following members.
Constructors
Name | Description | |
---|---|---|
LogEntry | Overloaded. |
Methods
Name | Description | |
---|---|---|
AddErrorMessage |
Add an error or warning message to the start of the messages string builder.
|
|
Clone |
Creates a new LogEntry that is a copy of the current instance.
|
|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetProcessName |
Gets the current process name.
|
|
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Overrides Object.ToString().) |
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
|
|
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.
|
See Also
Microsoft.Practices.EnterpriseLibrary.Logging Namespace
Retired Content |
---|
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist. |