LogMessage Class

An individual log message.

Definition

Namespace: Gemstone.Diagnostics
Assembly: Gemstone.Diagnostics (in Gemstone.Diagnostics.dll) Version: 1.0.128 -- Release Build+d9d157c80da59365061f9bf4a5d1ecd0f0496e1b
public sealed class LogMessage
Inheritance
Object    LogMessage

Properties

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
TypeName The Type associated with LogPublisher that generated the message.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetMessage Gets the details of the message.
GetTypeGets the Type of the current instance.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Overrides ObjectToString)

Fields

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.

See Also