Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​Audit Namespace / Audit­Record­Builder Class / Audit­Record­Builder Methods / Audit­Record­Builder.​Create­Record Method

AuditRecordBuilder.CreateRecord Method

Creates an AuditRecord.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.Audit
Assembly:  PostSharp.Patterns.Diagnostics (in PostSharp.Patterns.Diagnostics.dll) Version: 5.0.51.0 (5.0.51.0)
Syntax
C#
protected virtual AuditRecord CreateRecord(
	LoggingContext context,
	ref LogRecordInfo recordInfo,
	ref LogMemberInfo memberInfo
)

Parameters

context
Type: PostSharp.Patterns.Diagnostics.Contexts.LoggingContext
The context of the record.
recordInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.LogRecordInfo
Information about the record.
memberInfo
Type: PostSharp.Patterns.Diagnostics.Contexts.LogMemberInfo
Information about the method, property, or field.

Return Value

Type: AuditRecord
An AuditRecord.
See Also