Open sandboxFocus

Method GetRecordBuilder

GetRecordBuilder(in LogRecordOptions, in CallerInfo, ILoggingContext?)

Gets a record builder.

Declaration
ILogRecordBuilder GetRecordBuilder(in LogRecordOptions options, in CallerInfo callerInfo, ILoggingContext? context = null)
Parameters
Type Name Description
LogRecordOptions options

Options.

CallerInfo callerInfo

Information about the caller code.

ILoggingContext context

The context for which the record will be built, or null for standalone records.

Returns
Type Description
ILogRecordBuilder

A record builder.