PostSharp6.3/API Reference/Post­Sharp.​Patterns.​Diagnostics.​Record­Builders Namespace/Text­Log­Record­Builder Class/Text­Log­Record­Builder Methods/Text­Log­Record­Builder.​Begin­Custom­Record Method

TextLogRecordBuilder.BeginCustomRecord Method

Initializes the current LogRecordBuilder to emit a custom record.

Namespace:  PostSharp.Patterns.Diagnostics.RecordBuilders
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 6.3.11.0 (6.3.11.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