PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsCustom­Log­Record­InfoCustom­Log­Record­Info
Open sandboxFocus

CustomLogRecordInfo Constructor

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

Initializes a new CustomLogRecordInfo.

Declaration
public CustomLogRecordInfo(LoggingTypeSource source, LogLevel level, int parameterCount, LogRecordKind recordKind, CallerInfo callerInfo)
Parameters
Type Name Description
LoggingTypeSource source

Source type.

LogLevel level

Log level

System.Int32 parameterCount

Number of parameters in the record text.

LogRecordKind recordKind

Kind of record.

CallerInfo callerInfo

Information about the code invoking the Logger class.