Skip to content

Logging :: Implementations :: ConsoleLogger

mkloubert edited this page May 13, 2014 · 4 revisions

The ConsoleLogger logs message data to the Console.

The operation is done in the same thread.

var logger = new ConsoleLogger();


// log and send the log message to the console logger
logger.Log("That should be logged in DEBUG mode only.",
           LoggerFacadeCategories.Debug | LoggerFacadeCategories.Information);