Click or drag to resize

LogMessage Fields

The LogMessage type exposes the following members.

Fields
  Name Description
Public field CurrentStackMessages The message stack that existed when this LogMessage was published.
Public field CurrentStackTrace The stack trace that existed when this LogMessage was published.
Public field Details A long text field with the details of the message. Can be String.Empty.
Public field EventPublisherDetails Contains details about the LogEventPublisher that published this LogMessage.
Public field 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.
Public field 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
Public field InitialStackMessages The message stack that existed when the LogPublisher was originally constructed.
Public field InitialStackTrace The stack trace that existed when the LogPublisher was originally constructed.
Public field 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.
Public field 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.
Public field 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.
Public field UtcTime The time that the message was created.
Top
See Also