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 |
Returns
| Type | Description |
|---|---|
| ILogRecordBuilder | A record builder. |