it.imolinfo.jbi4ejb
Class LoggerFactory

java.lang.Object
  extended by it.imolinfo.jbi4ejb.LoggerFactory

public final class LoggerFactory
extends java.lang.Object

Factory class producing Logger for various logging APIs, most notably for Log4j and JDK 1.4 logging.

Author:
Marco Cimatti

Method Summary
static Logger getLogger(java.lang.Class clazz)
          Returns a logger named corresponding to the class passed as parameter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getLogger

public static Logger getLogger(java.lang.Class clazz)
Returns a logger named corresponding to the class passed as parameter.

Parameters:
clazz - the returned Logger will be named as this class. Must be not null.
Returns:
the logger named as clazz.


Copyright © 2007-2008 Imola Informatica. All Rights Reserved.