PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​AuditAudit­Type­Source
Open sandboxFocus

AuditTypeSource Class

Represents a type logged using the AuditBackend.

Inheritance
AuditTypeSource
Namespace: PostSharp.Patterns.Diagnostics.Backends.Audit
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public class AuditTypeSource : LoggingTypeSource, IContextLocalLogger, ILoggerExceptionHandler

Constructors

Name Description
AuditTypeSource(LoggingNamespaceSource, Type)

Initializes a new AuditTypeSource.

Methods

Name Description
IsBackendEnabled(LogLevel)

Checks whether logging is enabled in the back-end for the given level.