PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​Backends.​NLogNLog­Logging­Backend­Options
Open sandboxFocus

NLogLoggingBackendOptions Class

Options for NLogLoggingBackend.

Inheritance
System.Object
NLogLoggingBackendOptions
Namespace: PostSharp.Patterns.Diagnostics.Backends.NLog
Assembly: PostSharp.Patterns.Diagnostics.Backends.NLog.dll
Syntax
public class NLogLoggingBackendOptions : TextLoggingBackendOptions

Constructors

Name Description
NLogLoggingBackendOptions()

Initializes a new NLogLoggingBackendOptions.

Properties

Name Description
GetLogger

Function mapping an NLogLoggingTypeSource to an NLog Logger. The default behavior is to call typeSource.Backend.LogFactory?.GetLogger( typeSource.DisplayFullName ) ?? LogManager.GetLogger( typeSource.DisplayFullName ).