Write(LogLevel, LogRecordKind, string, Exception)
Writes a text message.
Declaration
protected abstract void Write(LogLevel level, LogRecordKind recordKind, string text, Exception exception)Parameters
| Type | Name | Description |
|---|---|---|
| LogLevel | level | The LogLevel of the record. |
| LogRecordKind | recordKind | The kind of the record. |
| string | text | The fully rendered message. |
| Exception | exception | An optional Exception. |