O'Reilly logo

NHibernate 3 Beginner's Guide by Gabriel N. Schenker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Logging

According to the Apache project (http://www.apache.org), approximately four percent of all code written is for logging. This is a pretty significant number, especially if your application is of any real size. If we are going to write all of this code, then we might as well use a framework that will make it easier for us to configure what gets logged, where we log it, and how much of it gets logged.

Why do we need to log?

While developing an application, we developers are used to running unit tests and using the debugger to make sure that our code runs smoothly and produces the expected results. However, once we hand over our application to the testers for quality assurance (QA), or once our product is installed in a productive environment, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required