de.cesr.lara.components.util.logging.impl
Class Log4jLogger

java.lang.Object
  extended by de.cesr.lara.components.util.logging.impl.Log4jLogger

public final class Log4jLogger
extends Object

log4j logger


Constructor Summary
Log4jLogger()
           
 
Method Summary
static Logger getLogger(Class<?> clazz)
           
static Logger getLogger(String name)
           
static void init()
          Initialises the log4j logging system and has to be called once before using.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jLogger

public Log4jLogger()
Method Detail

getLogger

public static Logger getLogger(Class<?> clazz)
Parameters:
name -
Returns:
the valid logger object

getLogger

public static Logger getLogger(String name)
Parameters:
name -
Returns:
the valid logger object

init

public static void init()
Initialises the log4j logging system and has to be called once before using. If LBasicPa.LOG_PATH is null, no logging is performed.