PostSharp 6.5 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​NLog Namespace / NLog­Logging­Backend Class / NLog­Logging­Backend Constructor / NLog­Logging­Backend Constructor (Log­Factory)

NLogLoggingBackend Constructor (LogFactory)

Initializes a new NLogLoggingBackend and specifies the target LogFactory.

Namespace:  PostSharp.Patterns.Diagnostics.Backends.NLog
Assembly:  PostSharp.Patterns.Diagnostics.Backends.NLog (in PostSharp.Patterns.Diagnostics.Backends.NLog.dll) Version: 6.5.19.0 (6.5.19.0)
Syntax
C#
public NLogLoggingBackend(
	LogFactory logFactory
)

Parameters

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