PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​ContextsCustom­Log­Record­Info
Open sandboxFocus

CustomLogRecordInfo Class

Stores information regarding a custom record, i.e. a record emitted by the Logger class.

Inheritance
CustomLogRecordInfo
Namespace: PostSharp.Patterns.Diagnostics.Contexts
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class CustomLogRecordInfo : ValueType

Constructors

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

Initializes a new CustomLogRecordInfo.

Properties

Name Description
Attributes

Gets the CustomLogRecordAttributes.

CallerInfo

Gets information about the code invoking the Logger class.

Data

Specifies the properties of the CustomLogRecordInfo, typically specified as an instance of a well-known or anonymous CLR type.

Level

Gets the record level.

ParameterCount

Gets the number of parameters in the record text.

Properties

Gets the properties of the log records.

RecordKind

Gets the record kind.

Source

Gets the source type.