Log(LogLevel, LogRecordKind, string, string, UnsafeString, UnsafeString, int)
Emits a log record.
Declaration
[NonEvent]
public void Log(LogLevel logLevel, LogRecordKind recordKind, string role, string type, UnsafeString contextDescription, UnsafeString message, int indentLevel)Parameters
| Type | Name | Description |
|---|---|---|
| LogLevel | logLevel | The log level. |
| LogRecordKind | recordKind | The record kind. |
| string | role | The logging role (see LoggingRoles). |
| string | type | The full name of the type that emits the record. |
| UnsafeString | contextDescription | The context description. |
| UnsafeString | message | The message. |
| int | indentLevel | The indentation level. |