PostSharp6.5//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.5.9.0 (6.5.9.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