PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​AuditAudit­Record­BuilderCreate­Record
Open sandboxFocus

AuditRecordBuilder.CreateRecord Method

CreateRecord(LoggingContext, ref LogRecordInfo, ref LogMemberInfo)

Creates an AuditRecord.

Declaration
protected virtual AuditRecord CreateRecord(LoggingContext context, ref LogRecordInfo recordInfo, ref LogMemberInfo memberInfo)
Parameters
Type Name Description
LoggingContext context

The context of the record.

LogRecordInfo recordInfo

Information about the record.

LogMemberInfo memberInfo

Information about the method, property, or field.

Returns
Type Description
AuditRecord

An AuditRecord.