BeginCustomRecord(LoggingContext, ref CustomLogRecordInfo)
Initializes the current LogRecordBuilder to emit a custom record.
Declaration
public virtual void BeginCustomRecord(LoggingContext context, ref CustomLogRecordInfo recordInfo)
Parameters
Type | Name | Description |
---|---|---|
LoggingContext | context | The parent LoggingContext of the record. |
CustomLogRecordInfo | recordInfo | Information about the record. |