IContextLocalLogger.GetRecordBuilder Method |
Namespace: PostSharp.Patterns.Diagnostics.Custom
Assembly: PostSharp.Patterns.Common (in PostSharp.Patterns.Common.dll) Version: 2023.0.3.0 (2023.0.3.0)
ICustomLogRecordBuilder GetRecordBuilder( in CustomLogRecordOptions options, ref CallerInfo callerInfo, ILoggingContext context = null )
Parameters
- options
- Type: PostSharp.Patterns.Diagnostics.Custom.CustomLogRecordOptionsInAttribute
Options. - callerInfo
- Type: PostSharp.Patterns.Diagnostics.Contexts.CallerInfo
Information about the caller code. - context (Optional)
- Type: PostSharp.Patterns.Diagnostics.Contexts.ILoggingContext
The context for which the record will be built, or null for standalone records.
Return Value
Type: ICustomLogRecordBuilderA record builder.