Skip to content
This repository has been archived by the owner on Dec 30, 2022. It is now read-only.

3cpt/andlogger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

AndLogger

A simple log library for C#.

Build Status

Under Development

  • Json File implementations
  • Unit tests

How to use

  • Install nuget:
Install-Package AndLogger
  • Instantiate:
 ILog log = new Logger(Level.Info, *string.Empty);

 this.log.Debug("debug message");
 this.log.Error("error message", new Exception("exception.Error"));
 
  * With empty string the path that will be used is where the application is running

Output Sample

[2010-07-01 11:36:55.7776]|DEBUG|debug
[2010-07-02 11:36:55.7906]|DEBUG|debug|>>>TRACE>>>exception.debug>>>
[2010-07-03 11:36:55.7946]|INFO|info
[2010-07-04 11:36:55.7986]|WARNING|Warning
[2010-07-05 11:36:55.8036]|ERROR|Error
[2010-07-06 11:36:55.8076]|ERROR|Error|>>>TRACE>>>exception.Error>>>
[2010-07-07 11:36:55.8136]|DEBUG|debug

About

A REALLY simple log utility for C# applications.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages