Skip to content

eleven41/Eleven41.Logging

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eleven41.Logging

Copyright (C) 2014, Eleven41 Software Inc.

Eleven41.Logging is a general purpose logging framework, capable of logging to many different outputs. Those include:

  • Console
  • File
  • Windows Event Log
  • Multiple outputs

Various logging levels exist, including:

  • Diagnostic
  • Info
  • Warning
  • Error

Get It on NuGet!

Install-Package Eleven41.Logging

LICENSE

MIT License

REQUIREMENTS

  • Visual Studio 2013

Sample Code

ILog log = new ConsoleLog();
log.Log(LogLevels.Diagnostic, "This is my diagnostic message");

By passing around the ILog object,your application can easily filter messages. In addition, by only changing the object construction, your application can switch from logging-to-console to logging-to-file.