Open sandboxFocus

Constructor CustomLogRecordInfo

CustomLogRecordInfo(LoggingTypeSource, LogLevel, int, LogRecordKind, CallerInfo)

Initializes a new instance of the CustomLogRecordInfo struct.

Declaration
[Obsolete("There should be no need to create a CustomLogRecordInfo in user code.")]
public CustomLogRecordInfo(LoggingTypeSource source, LogLevel level, int parameterCount, LogRecordKind recordKind, CallerInfo callerInfo)
Parameters
Type Name Description
LoggingTypeSource source

The source type.

LogLevel level

The log level.

int parameterCount

The number of parameters in the record text.

LogRecordKind recordKind

The kind of record.

CallerInfo callerInfo

The information about the code that invokes the Logger class.