org.rythmengine.logger
Class CommonsLogger
java.lang.Object
org.rythmengine.logger.CommonsLogger
- All Implemented Interfaces:
- ILogger
public class CommonsLogger
- extends Object
- implements ILogger
A Commons-logging logger implementation
|
Method Summary |
void |
debug(String msg,
Object... arg)
|
void |
debug(Throwable t,
String msg,
Object... arg)
|
void |
error(String msg,
Object... arg)
|
void |
error(Throwable t,
String msg,
Object... arg)
|
void |
info(String msg,
Object... arg)
|
void |
info(Throwable t,
String msg,
Object... arg)
|
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isTraceEnabled()
|
boolean |
isWarnEnabled()
|
void |
trace(String msg,
Object... arg)
|
void |
trace(Throwable t,
String msg,
Object... arg)
|
void |
warn(String msg,
Object... arg)
|
void |
warn(Throwable t,
String msg,
Object... arg)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
protected final org.apache.commons.logging.Log logger
className
protected final String className
CommonsLogger
public CommonsLogger(Class c)
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabled in interface ILogger
trace
public void trace(String msg,
Object... arg)
- Specified by:
trace in interface ILogger
trace
public void trace(Throwable t,
String msg,
Object... arg)
- Specified by:
trace in interface ILogger
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabled in interface ILogger
debug
public void debug(String msg,
Object... arg)
- Specified by:
debug in interface ILogger
debug
public void debug(Throwable t,
String msg,
Object... arg)
- Specified by:
debug in interface ILogger
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabled in interface ILogger
info
public void info(String msg,
Object... arg)
- Specified by:
info in interface ILogger
info
public void info(Throwable t,
String msg,
Object... arg)
- Specified by:
info in interface ILogger
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabled in interface ILogger
warn
public void warn(String msg,
Object... arg)
- Specified by:
warn in interface ILogger
warn
public void warn(Throwable t,
String msg,
Object... arg)
- Specified by:
warn in interface ILogger
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabled in interface ILogger
error
public void error(String msg,
Object... arg)
- Specified by:
error in interface ILogger
error
public void error(Throwable t,
String msg,
Object... arg)
- Specified by:
error in interface ILogger
Copyright © 2014. All Rights Reserved.