NLogLoggingBackend Class |
Logging back-end for NLog.

System.Object
PostSharp.Patterns.Diagnostics.LoggingBackend
PostSharp.Patterns.Diagnostics.Backends.TextLoggingBackend
PostSharp.Patterns.Diagnostics.Backends.NLog.NLogLoggingBackend
PostSharp.Patterns.Diagnostics.LoggingBackend
PostSharp.Patterns.Diagnostics.Backends.TextLoggingBackend
PostSharp.Patterns.Diagnostics.Backends.NLog.NLogLoggingBackend
Namespace: PostSharp.Patterns.Diagnostics.Backends.NLog
Assembly: PostSharp.Patterns.Diagnostics.Backends.NLog (in PostSharp.Patterns.Diagnostics.Backends.NLog.dll) Version: 5.0.55.0 (5.0.55.0)

C#
public class NLogLoggingBackend : TextLoggingBackend
The NLogLoggingBackend type exposes the following members.

Name | Description | |
---|---|---|
![]() | NLogLoggingBackend() |
Initializes a new NLogLoggingBackend.
|
![]() | NLogLoggingBackend(LogFactory) |
Initializes a new NLogLoggingBackend and specifies the target LogFactory.
|

Name | Description | |
---|---|---|
![]() | CurrentContext |
Gets the current LoggingContext.
(Inherited from LoggingBackend.) |
![]() | IsDisposed |
Determines whether the current LoggingBackend has been disposed.
(Inherited from LoggingBackend.) |
![]() | LogFactory |
Gets the LogFactory passed to the constructor of the current NLogLoggingBackend, or null if no logger was passed during the instantiation of the current NLogLoggingBackend.
|
![]() | Options |
Gets the back-end options.
|


Name | Description | |
---|---|---|
![]() | QueryInterface<T> |
Gets the implementation of a specified interface for the specified object.
(Defined by QueryInterfaceExtensions.) |
