PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsLogging­ContextGet­Custom­Record­Builder
Open sandboxFocus

Method GetCustomRecordBuilder

GetCustomRecordBuilder(ref CustomLogRecordInfo)

Gets a LogRecordBuilder for the current context to build a custom record.

Declaration
public LogRecordBuilder GetCustomRecordBuilder(ref CustomLogRecordInfo recordInfo)
Parameters
Type Name Description
CustomLogRecordInfo recordInfo

Information about the record.

Returns
Type Description
LogRecordBuilder

A LogRecordBuilder.