Open sandboxFocus

Class NullLoggingBackend

Logging back-end that does not do anything.

Inheritance
NullLoggingBackend
Implements
Namespace: PostSharp.Patterns.Diagnostics.Backends.Null
Assembly: PostSharp.Patterns.Diagnostics.dll
Syntax
public sealed class NullLoggingBackend : LoggingBackend, IDisposable

Properties

Name Description
Instance

Gets the singleton instance of NullLoggingBackend.

Methods

Name Description
CreateRecordBuilder()

Creates a new LogRecordBuilder.

CreateTypeSource(LoggingNamespaceSource, Type)

Creates a LoggingTypeSource for the given role and type.

CreateTypeSourceBySourceName(LoggingNamespaceSource, string)

Creates a LoggingTypeSource for the given role and logger name.

GetBackendOptions()

Gets the formatting and rendering options for the current LoggingBackend.