org.jbpm.log
Class Log4jLog

java.lang.Object
  extended by org.jbpm.log.Log
      extended by org.jbpm.log.Log4jLog

public class Log4jLog
extends Log

Author:
Tom Baeyens

Constructor Summary
Log4jLog(org.apache.log4j.Logger log)
           
 
Method Summary
 void debug(java.lang.String msg)
           
 void debug(java.lang.String msg, java.lang.Throwable exception)
           
 void error(java.lang.String msg)
           
 void error(java.lang.String msg, java.lang.Throwable exception)
           
 void info(java.lang.String msg)
           
 void info(java.lang.String msg, java.lang.Throwable exception)
           
 boolean isDebugEnabled()
           
 boolean isInfoEnabled()
           
 boolean isTraceEnabled()
           
 void trace(java.lang.String msg)
           
 void trace(java.lang.String msg, java.lang.Throwable exception)
           
 
Methods inherited from class org.jbpm.log.Log
getLog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jLog

public Log4jLog(org.apache.log4j.Logger log)
Method Detail

error

public void error(java.lang.String msg)
Specified by:
error in class Log

error

public void error(java.lang.String msg,
                  java.lang.Throwable exception)
Specified by:
error in class Log

isInfoEnabled

public boolean isInfoEnabled()
Specified by:
isInfoEnabled in class Log

info

public void info(java.lang.String msg)
Specified by:
info in class Log

info

public void info(java.lang.String msg,
                 java.lang.Throwable exception)
Specified by:
info in class Log

isDebugEnabled

public boolean isDebugEnabled()
Specified by:
isDebugEnabled in class Log

debug

public void debug(java.lang.String msg)
Specified by:
debug in class Log

debug

public void debug(java.lang.String msg,
                  java.lang.Throwable exception)
Specified by:
debug in class Log

isTraceEnabled

public boolean isTraceEnabled()
Specified by:
isTraceEnabled in class Log

trace

public void trace(java.lang.String msg)
Specified by:
trace in class Log

trace

public void trace(java.lang.String msg,
                  java.lang.Throwable exception)
Specified by:
trace in class Log