PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​Application­InsightsApplication­Insights­Log­Record­BuilderBegin­Custom­Record
Open sandboxFocus

ApplicationInsightsLogRecordBuilder.BeginCustomRecord Method

BeginCustomRecord(LoggingContext, ref CustomLogRecordInfo)

Initializes the current LogRecordBuilder to emit a custom record.

Declaration
public override 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.

Overrides
TextLogRecordBuilder.BeginCustomRecord(LoggingContext, ref CustomLogRecordInfo)