|
Joutsen Logging v0.5.0+22-gec3d058
|
A class that represents the information of a single log entry. More...
Public Member Functions | |
| LogRecord () | |
| Creates an instance for the default log level info. More... | |
| LogRecord (LogLevel level) | |
| Creates an instance for a log level. More... | |
| override bool | Equals (object obj) |
| override string | ToString () |
| override int | GetHashCode () |
Static Public Member Functions | |
| static LogRecord | Create (LogLevel level, string message, object[] parameters) |
| static LogRecord | Create (LogLevel level, string message, Map< string, object > parameters) |
| static LogRecord | Create (LogLevel level, string message, object parameter) |
| static LogRecord | Create (LogLevel level, string message, IEnumerable parameters) |
Properties | |
| virtual DateTime | TimeStamp [get] |
| The point in time where this record was created in UTC. More... | |
| virtual Guid | Id [get] |
| virtual String | Message [get, set] |
| The log message. More... | |
| virtual String | UnformattedMessage [get, set] |
| The message as it was added to the record. More... | |
| virtual Exception | Error [get, set] |
| Exception information. More... | |
| virtual Map< string, object > | NamedParameters [get, set] |
| The parameters to format the message. More... | |
| virtual object[] | PositionalParameters [get, set] |
| The parameters to format the message. More... | |
| virtual object | ParametersObject [get, set] |
| The parameter object to format the message. More... | |
| virtual LogLevel | Level [get] |
| The log level of the new record. More... | |
| virtual IEnumerable | ListParameter [get, set] |
| A list parameter to format the message. More... | |
| Scope | Scope [get, set] |
| The scope this record belongs to. More... | |
| virtual String | StackTrace [get] |
| The StackTrace of the exception if one is available. More... | |
| virtual String | ErrorMessage [get] |
| The message of the exception if one is available. More... | |
| virtual Type | ErrorType [get] |
| The type of the exception if one is available. More... | |
A class that represents the information of a single log entry.
| Joutsen.Logging.LogRecord.LogRecord | ( | ) |
Creates an instance for the default log level info.
| Joutsen.Logging.LogRecord.LogRecord | ( | LogLevel | level | ) |
Creates an instance for a log level.
| level | the log level of the new record |
|
static |
|
static |
|
static |
|
static |
| override bool Joutsen.Logging.LogRecord.Equals | ( | object | obj | ) |
| override int Joutsen.Logging.LogRecord.GetHashCode | ( | ) |
| override string Joutsen.Logging.LogRecord.ToString | ( | ) |
|
getset |
Exception information.
|
get |
The message of the exception if one is available.
|
get |
The type of the exception if one is available.
|
get |
|
get |
The log level of the new record.
|
getset |
A list parameter to format the message.
This parameter will be inserted into the message where either {listParameter} is used as a name or as an additional positional parameter.
|
getset |
The log message.
|
getset |
The parameters to format the message.
These parameter values will be inserted into the message by their name if they are referenced.
|
getset |
The parameter object to format the message.
The properties of the object will be inserted into the message by their name if they are referenced.
|
getset |
The parameters to format the message.
These parameter values will be inserted into the message by their index if they are referenced.
|
getset |
The scope this record belongs to.
|
get |
The StackTrace of the exception if one is available.
|
get |
The point in time where this record was created in UTC.
|
getset |
The message as it was added to the record.