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

NLogLoggingTypeSource Class

Inheritance
System.Object
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.