PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Record­BuildersText­Log­Record­BuilderBegin­Record
Open sandboxFocus

Method BeginRecord

BeginRecord(LoggingContext, ref LogRecordInfo, ref LogMemberInfo)

Initializes the current LogRecordBuilder to emit a standard (i.e. non-custom) record for a given context and method.

public override void BeginRecord(LoggingContext context, ref LogRecordInfo recordInfo, ref LogMemberInfo memberInfo)
Type Name Description
LoggingContext context

The parent LoggingContext of the record.

LogRecordInfo recordInfo

Information about the record.

LogMemberInfo memberInfo

Information about the method, property, or field.

LogRecordBuilder.BeginRecord(LoggingContext, ref LogRecordInfo, ref LogMemberInfo)