Open sandboxFocus

Class NLogLoggingTypeSource

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

Constructors

Name Description
NLogLoggingTypeSource(LoggingNamespaceSource, string, Type)

Initializes a new instance of the NLogLoggingTypeSource class.

NLogLoggingTypeSource(LoggingNamespaceSource, Type)

Initializes a new instance of the NLogLoggingTypeSource class.

Properties

Name Description
Backend

Gets the parent NLogLoggingBackend.

Logger

Gets the Logger associated with the current NLogLoggingTypeSource.

Methods

Name Description
IsBackendEnabled(LogLevel)

Checks whether logging is enabled in the backend for the given level.