Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Gernand committed May 30, 2015
1 parent c27d965 commit 01a0eff
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 44 deletions.
24 changes: 0 additions & 24 deletions Build/nhlogging.nlog.nuspec

This file was deleted.

28 changes: 8 additions & 20 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,35 +1,22 @@
NHibernate Logging Providers
============================
The current version **1.3.3** is avialable as [NuGet package](http://nuget.org/packages/NHibernate.Logging/).
This version is built against NHibernate 3.3.3 and Common.Logging 2.1.2.
The current version **4.0.3** is available as [NuGet package](http://nuget.org/packages/NHibernate.Logging/).
This version is built against NHibernate 4.0.3 and Common.Logging 3.1.0.

Project Description
-------------------
NHibernate Logging Providers makes it possible to use your favourite logger with NHibernate.
You no longer have to use log4net. The new NHibernate (since NH3) logging abstraction makes
this possible. The providers are developed in C# using .NET 3.5.
this possible. The provider is developed in C# using .NET 4.5.

Available Logging Providers
---------------------------
The current release contains log providers for the following logging frameworks.

* [Common.Logging 2.1.2](http://netcommon.sourceforge.net/)
* [Common.Logging 3.1.0](https://github.com/net-commons/common-logging)

Common.Logging 2.1.2 supports several other logging frameworks. So you can use
each of them with NHibernate via Common.Logging 2.1.1 abstraction.

The following logging frameworks are supported by Common.Logging 2.1.2:

* System.Console
* System.Diagnostics.Trace
* Log4Net 1.2.9
* Log4Net 1.2.10
* Log4Net 1.2.11
* NLog 1.0
* NLog 2.0
* Enterprise Library 3.1 Logging
* Enterprise Library 4.1 Logging
* Enterprise Library 5.0 Logging
Common.Logging 3.1.0 supports several other logging frameworks. So you can use
each of them with NHibernate via Common.Logging 3.1.0 abstraction.

Review the [NHibernate Wiki](http://nhforge.org/wikis/howtonh/using-nlog-via-common-logging-with-nhibernate.aspx) for additional informations. Please leave a comment if you
like it or not. ;-)
Expand All @@ -42,10 +29,11 @@ Thanks again for the effort.

Getting Started
---------------
To use the Common.Logging 2.1 logging abstraction framework with NHibernate all you have
To use the Common.Logging 3.1.0 logging abstraction framework with NHibernate all you have
to do is to copy the following Assemblies to you projects output directory:

* Common.Logging.dll
* Common.Logging.Core.dll
* NHibernate.Logging.CommonLogging.dll

Needless to say that you have to copy your loggers Assembly and the corresponding
Expand Down

0 comments on commit 01a0eff

Please sign in to comment.