Log
|
The LogMessage type exposes the following members.
Name | Description | |
---|---|---|
AssemblyName | The Assembly associated with LogPublisher that generated the message. | |
Classification | The classification of the message | |
EventName | The event name of this log message. | |
Flags | The flags associated with the message | |
Level | The level associated with the message | |
MessageSuppression | The suppression level assigned to this log message | |
RelatedTypes | All related types such as interfaces/parent classes for the current type. | |
TypeName | The Type associated with LogPublisher that generated the message. |
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetMessage | Gets the details of the message. | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Overrides ObjectToString) |
Name | Description | |
---|---|---|
CurrentStackMessages | The message stack that existed when this LogMessage was published. | |
CurrentStackTrace | The stack trace that existed when this LogMessage was published. | |
Details | A long text field with the details of the message. Can be String.Empty. | |
EventPublisherDetails | Contains details about the LogEventPublisher that published this LogMessage. | |
Exception | An exception object if one is provided. Can be null. Since the exception is not serialized to the disk, it will be null when loaded. | |
ExceptionString | A string representation of the exception. Can be String.Empty. If loaded from the disk, since exception objects cannot be serialized, the Exception will be null and this field will have the string representation of Exception | |
InitialStackMessages | The message stack that existed when the LogPublisher was originally constructed. | |
InitialStackTrace | The stack trace that existed when the LogPublisher was originally constructed. | |
ManagedThreadID | The Managed Thread ID of the thread that created this message. This is primarily to assist in future log viewing applications where it is beneficial to track the thread. | |
Message | A specific message about the event giving more specifics about the actual message. Typically, this will be up to 1 line of text. Can be String.Empty. | |
PreviousFirstChanceExceptionSequenceNumber | A sequence number maintained by each thread thread of the previous first chance exception that was thrown. This is used to assist LogFileViewer associate log messages with properly handled first chance exceptions. | |
UtcTime | The time that the message was created. |
Name | Description | |
---|---|---|
GetEnumValueOrDefault |
Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) | |
GetEnumValueOrDefaultT |
Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions) |