CSharpLogger .NET

//Create Factory
var factory = new LoggerHandlerFactory();
// Get Logger (in this case FileLooger) var logger = handler.GetHandler<FileLogger>();
//Specigy the general log level configuration
CSharpLoggerConfiguration.Configuration.SetLogLevel(LogLevel.DEBUG);
//Log a message and specify the log level
logger.Log("Hello CSharpLogger", LogLevel.DEBUG);

For now, the logger just log information to a text file (FileLogger).

Last edited Aug 17, 2016 at 8:56 PM by hack3rlife, version 5

Comments

No comments yet.