PostSharp 6.7 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Application­Insights Namespace / Application­Insights­Log­Record­Builder Class / Application­Insights­Log­Record­Builder Methods / Application­Insights­Log­Record­Builder.​Begin­Custom­Record Method

ApplicationInsightsLogRecordBuilder.BeginCustomRecord Method

Initializes the current LogRecordBuilder to emit a custom record.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights
Assembly:  PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights (in PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights.dll) Version: 6.7.12.0 (6.7.12.0)
Syntax
C#
public override void BeginCustomRecord(
	LoggingContext context,
	ref CustomLogRecordInfo recordInfo
)

Parameters

context
Type: PostSharp.Patterns.Diagnostics.Contexts.LoggingContext
The parent LoggingContext of the record.
recordInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.CustomLogRecordInfo
Information about the record.
See Also