Data object used to store captured log messages.
Description
The LogMessage class allows you to create data objects used to store captured log messages.
Important points
- This object is used by CachedLogger.
Properties
Time
Time the message was generated
public
DateTime Time { get; set; }
level
Log level
public
string Level { get; set; }
Source
Source (context name)
public
string Source { get; set; }
CorrelationId
Transaction id used to trace execution through a call chain.
public
string CorrelationId { get; set; }
Error
Error
See also ErrorDescription, ApplicationException
public
ErrorDescription Error { get; set; }
Message
Human-readable message
public
string Message { get; set; }