C# Class NRConfigTool.Logging.LogConfigurator

Mostra file Open project: Pablissimo/nrconfig

Public Methods

Method Description
Configure ( bool verbose, bool debug, IAppender appender = null ) : void

Configures logging to a specified level, optionally directing log output to a particular IAppender instance.

Method Details

Configure() public static method

Configures logging to a specified level, optionally directing log output to a particular IAppender instance.
public static Configure ( bool verbose, bool debug, IAppender appender = null ) : void
verbose bool If true, informational messages should be logged.
debug bool If true, diagnostic and trace-level messages should be logged.
appender IAppender An IAppender to which log traffic should be directed. If absent, a default /// is used.
return void