Logger is the core class that you will be using in your day to day programming. There is no factory for creating a Logger instance. You simply use new to create one.
using LiveLabs.Logging;

Logger logger1 = new Logger("my.logging.namespace");
Logger logger2 = new Logger(typeof(MyType));

This one simple line of code will create a Logger that will write messages to the console at an informational level.

Last edited Feb 12, 2009 at 7:18 PM by justrudd, version 3


No comments yet.