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 NLogLoggingTypeSource.

NLogLoggingTypeSource(LoggingNamespaceSource, Type)

Initializes a new NLogLoggingTypeSource.

Properties

Name Description
Backend

Gets the parent NLogLoggingBackend.

Logger

Gets the Logger associated to the current NLogLoggingTypeSource.

Methods

Name Description
IsBackendEnabled(LogLevel)

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