PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Custom Namespace / IContext­Local­Logger Interface / IContext­Local­Logger Methods / IContext­Local­Logger.​Get­Record­Builder Method

IContextLocalLogger.GetRecordBuilder Method

Namespace:  PostSharp.Patterns.Diagnostics.Custom
Assembly:  PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
ICustomLogRecordBuilder GetRecordBuilder(
	 in CustomLogRecordOptions options,
	ref CallerInfo callerInfo,
	ILoggingContext context = null
)

Parameters

options
Type: PostSharp.Patterns.Diagnostics.Custom.CustomLogRecordOptionsInAttribute
callerInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo
context (Optional)
Type: PostSharp.Patterns.Diagnostics.Contexts.ILoggingContext

Return Value

Type: ICustomLogRecordBuilder
See Also