C# Class NLog.LogFactory.LogEnabler

Enables logging in IDisposable.Dispose implementation.
Inheritance: IDisposable
Mostra file Open project: shiftkey/winrt-backport-hilarity

Public Methods

Method Description
LogEnabler ( LogFactory factory ) : System

Initializes a new instance of the LogEnabler class.

Private Methods

Method Description
IDisposable ( ) : void

Enables logging.

Method Details

LogEnabler() public method

Initializes a new instance of the LogEnabler class.
public LogEnabler ( LogFactory factory ) : System
factory LogFactory The factory.
return System