This project is read-only.

The project moved to GitHub:

https://github.com/mgernand/nhibernate-logging

Future releases and the newest source can be found there.

 

Getting Started

To use the Common.Logging 2.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
  • NHibernate.Logging.CommonLogging.dll


Needless to say that you have to copy your loggers Assembly and the
corresponding Common.Logging-Provider Assembly too.

To enable the log provider you have to add the following lines to your
App.config:

<appSettings>
	<add key="nhibernate-logger" 
             value="NHibernate.Logging.CommonLogging.CommonLoggingLoggerFactory,  Hibernate.Logging.CommonLogging"/>
</appSettings>

Last edited Feb 8, 2013 at 1:02 PM by mgernand, version 11

Comments

No comments yet.