Skip to content

jochenvanwylick/JVW.Logging

Repository files navigation

JVW.Logging

Project came about since I wanted to use Common.Logging with the latest version of NLog and I'm under the impression that the NLog adapter project is a little dead: https://www.nuget.org/packages/Common.Logging.NLog/. So I decided to roll my own which will use the latest versions of Common.Logging and NLog.

Usage

  1. Download NuGet package into your solution: https://www.nuget.org/packages/JVW.Logging.CommonLoggingNLogAdapter/ or Install-Package JVW.Logging.CommonLoggingNLogAdapter.

  2. Update your web/app.config with the values below:

Don't forget to add references to Common.Logging in your other projects and log by using:

private static ILog log = Common.Logging.LogManager.GetCurrentClassLogger();

in your classes.

Links:

  1. Common.Logging: http://netcommon.sourceforge.net/
  2. NLog: http://nlog-project.org/
  3. The project that I'm trying to update: https://www.nuget.org/packages/Common.Logging.NLog/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages