PostSharp 5.0 / / Post­Sharp Documentation / API Reference / Post­Sharp.​Patterns.​Diagnostics.​Backends.​NLog Namespace / NLog­Logging­Backend Class / NLog­Logging­Backend Properties / NLog­Logging­Backend.​Log­Factory Property

NLogLoggingBackend.LogFactory Property

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.

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)
Syntax
C#
public LogFactory LogFactory { get; }

Property Value

Type: LogFactory
See Also