A specialized back-end that publishes audit records to the RecordPublished event.
Implements
Namespace: PostSharp.Patterns.Diagnostics.Backends.Audit
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
[Obsolete("This feature has been moved to the sample PostSharp.Samples.Logging.Audit.")]
public class AuditBackend : TextLoggingBackend, IDisposable
Constructors
Name | Description |
---|---|
AuditBackend() | Initializes a new AuditBackend. |
Properties
Name | Description |
---|---|
Options | Gets the back-end options. |
Methods
Name | Description |
---|---|
CreateRecordBuilder() | Creates a new LogRecordBuilder. |
CreateTypeSource(LoggingNamespaceSource, Type) | Creates a LoggingTypeSource for the given role and type. |
GetTextBackendOptions() | Gets the options. |
PublishRecord(AuditRecord) | Publishes an AuditRecord to the RecordPublished event. |