PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​AuditAudit­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.

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
TextLogRecordBuilder.BeginRecord(LoggingContext, ref LogRecordInfo, ref LogMemberInfo)