Method Log
Log(LogLevel, LogRecordKind, String, String, UnsafeString, UnsafeString, Int32)
Emits a log record.
Declaration
public void Log(LogLevel logLevel, LogRecordKind recordKind, string role, string type, UnsafeString contextDescription, UnsafeString message, int indentLevel)
Parameters
Type | Name | Description |
---|---|---|
LogLevel | logLevel | Log level. |
LogRecordKind | recordKind | Record kind. |
String | role | Logging role (see LoggingRoles). |
String | type | Full name of the type emitting the record. |
UnsafeString | contextDescription | Context description. |
UnsafeString | message | Message. |
Int32 | indentLevel | Indentation level. |