CodeNode.Logging NuGet Package

A simple Singleton implementation of Log4Net Logger.


Package will add required settings in web.config and add a folder Configuration at root, which will contain config for log4net. It also install Log4Net package.



Once installed, we can use it by :

CodeNode.Logging.Logger.Instance.Info("Message")
CodeNode.Logging.Logger.Instance.Warning("Message")
CodeNode.Logging.Logger.Instance.Error(ex); // ex => Exception
CodeNode.Logging.Logger.Instance.Fatal(ex);// ex => Exception


It will create a Logs folder at root and will also create two log files. One for info and one for errors.




Got any CodeNode.Logging Question?





Info

Version: 1.0.9
Author(s): Rahul garg
Last Update: Monday, October 19, 2015
.NET Fiddle: Create the first Fiddle
Project Url: https://github.com/rahulgarg1985/CodeNode/tree/master/CodeNode.Logging
NuGet Url: https://www.nuget.org/packages/CodeNode.Logging


Install
Install-Package CodeNode.Logging
dotnet add package CodeNode.Logging
paket add CodeNode.Logging
CodeNode.Logging Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

3

days-since-last-release

3321