PostSharp / / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Record­Builders / Text­Log­Record­Builder / Begin­Record
Open sandbox

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.

Declaration
public override void BeginRecord(LoggingContext context, ref LogRecordInfo recordInfo, ref LogMemberInfo memberInfo)
Parameters
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.

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