Open sandboxFocus

Constructor CustomLogRecordInfo

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

Initializes a new CustomLogRecordInfo.

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

Source type.

LogLevel level

Log level

int parameterCount

Number of parameters in the record text.

LogRecordKind recordKind

Kind of record.

CallerInfo callerInfo

Information about the code invoking the Logger class.