PostSharp6.6//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­Record Method

ApplicationInsightsLogRecordBuilder.BeginRecord Method

Initializes the current LogRecordBuilder to emit a standard (i.e. non-custom) record for a given context and method.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights
Assembly:  PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights (in PostSharp.Patterns.Diagnostics.Backends.ApplicationInsights.dll) Version: 6.6.10.0 (6.6.10.0)
Syntax
C#
public override void BeginRecord(
	LoggingContext context,
	ref LogRecordInfo recordInfo,
	ref LogMemberInfo memberInfo
)

Parameters

context
Type: PostSharp.Patterns.Diagnostics.Contexts.LoggingContext
The parent LoggingContext of the record.
recordInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.LogRecordInfo
Information about the record.
memberInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.LogMemberInfo
Information about the method, property, or field.
See Also