LogEventBuilder Structure |
Namespace: NLog
The LogEventBuilder type exposes the following members.
Name | Description | |
---|---|---|
LogEventBuilder(ILogger) |
Initializes a new instance of the LogEventBuilder class.
| |
LogEventBuilder(ILogger, LogLevel) |
Initializes a new instance of the LogEventBuilder class.
|
Name | Description | |
---|---|---|
LogEvent |
Logging event that will be written
| |
Logger |
The logger to write the log event to
|
Name | Description | |
---|---|---|
Callsite |
Writes the log event to the underlying logger.
| |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
Exception |
Sets the exception information of the logging event.
| |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
Log(Type) |
Writes the log event to the underlying logger.
| |
Log(LogLevel, String, String, Int32) |
Writes the log event to the underlying logger.
| |
Message(String) |
Sets the log message on the logging event.
| |
Message(String, Object) |
Sets the log message and parameters for formatting on the logging event.
| |
Message(IFormatProvider, String, Object) |
Sets the log message and parameters for formatting on the logging event.
| |
MessageTArgument(String, TArgument) |
Sets the log message and parameters for formatting for the logging event.
| |
MessageTArgument1, TArgument2(String, TArgument1, TArgument2) |
Sets the log message and parameters for formatting on the logging event.
| |
MessageTArgument1, TArgument2, TArgument3(String, TArgument1, TArgument2, TArgument3) |
Sets the log message and parameters for formatting on the logging event.
| |
Properties |
Sets multiple per-event context properties on the logging event.
| |
PropertyT |
Sets a per-event context property on the logging event.
| |
TimeStamp |
Sets the timestamp of the logging event.
| |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |