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

NLogLoggingBackend Constructor

NLogLoggingBackend(LogFactory)

Initializes a new NLogLoggingBackend and specifies the target LogFactory.

Declaration
public NLogLoggingBackend(LogFactory logFactory)
Parameters
Type Name Description
NLog.LogFactory logFactory

The LogFactory that should be used to create the target loggers, or null to use the globally-shared logger.

NLogLoggingBackend()

Initializes a new NLogLoggingBackend.

Declaration
public NLogLoggingBackend()