CodeNode.Logging 1.0.9

dotnet add package CodeNode.Logging --version 1.0.9                
NuGet\Install-Package CodeNode.Logging -Version 1.0.9                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="CodeNode.Logging" Version="1.0.9" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CodeNode.Logging --version 1.0.9                
#r "nuget: CodeNode.Logging, 1.0.9"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install CodeNode.Logging as a Cake Addin
#addin nuget:?package=CodeNode.Logging&version=1.0.9

// Install CodeNode.Logging as a Cake Tool
#tool nuget:?package=CodeNode.Logging&version=1.0.9                

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.

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.9 3,471 10/19/2015
1.0.0.9 1,316 5/19/2015
1.0.0.8 2,094 5/11/2015

Update web and app config