ConcreteLog logger = new ConcreteLog();
//Licensed Mode
//logger.UserName = "User Name From Receipt";
//logger.LicenseKey = "LicenseKey From Receipt";
//Clear all configuration
logger.ResetConfiguration();
//Add a new target, you can also define targets in an xml file, app.config, or web.config
FileTarget fileTarget = new FileTarget(Environment.CurrentDirectory + "\\fileLogger.txt");
logger.Config.Targets.Add(fileTarget);
//Parameters
string className = "ClassTest";
string methodName = "MethodTest";
//Push a method to the stack for timing purposes
//This is a way of measuring performance for sections or methods
logger.PushMethod(className, methodName);
//Log a normal message
logger.Debug("This is a test");
//Wait a second to show the performance timing
System.Threading.Thread.Sleep(1000);
//Pop a method from the stack for timing purposes
logger.PopMethod(className,methodName);