net.sourceforge.jfacets.log
Class JFacetsLogger

java.lang.Object
  extended by net.sourceforge.jfacets.log.JFacetsLogger

public class JFacetsLogger
extends Object

Utility class that centralizes dependencies on the underlying logging system.

Author:
Remi VANKEISBELCK - remi 'at' rvkb.com

Constructor Summary
protected JFacetsLogger(org.apache.log4j.Logger logger)
           
 
Method Summary
 void debug(Object arg0)
           
 void debug(Object arg0, Throwable arg1)
           
 void error(Object arg0)
           
 void error(Object arg0, Throwable arg1)
           
 void fatal(Object arg0)
           
 void fatal(Object arg0, Throwable arg1)
           
static JFacetsLogger getLogger(Class clazz)
           
 void info(Object arg0)
           
 void info(Object arg0, Throwable arg1)
           
 boolean isDebugEnabled()
           
 boolean isInfoEnabled()
           
 void warn(Object arg0)
           
 void warn(Object arg0, Throwable arg1)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JFacetsLogger

protected JFacetsLogger(org.apache.log4j.Logger logger)
Method Detail

getLogger

public static JFacetsLogger getLogger(Class clazz)

debug

public void debug(Object arg0,
                  Throwable arg1)

debug

public void debug(Object arg0)

error

public void error(Object arg0,
                  Throwable arg1)

error

public void error(Object arg0)

fatal

public void fatal(Object arg0,
                  Throwable arg1)

fatal

public void fatal(Object arg0)

info

public void info(Object arg0,
                 Throwable arg1)

info

public void info(Object arg0)

warn

public void warn(Object arg0,
                 Throwable arg1)

warn

public void warn(Object arg0)

isDebugEnabled

public boolean isDebugEnabled()

isInfoEnabled

public boolean isInfoEnabled()


Copyright © 2012. All Rights Reserved.