C# Class NRConfigTool.Logging.LogConfigurator

Afficher le fichier Open project: Pablissimo/nrconfig

Méthodes publiques

Méthode 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 méthode

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.
Résultat void