Package org.smallmind.scribe.apache
Class CommonsLogWrapper
- java.lang.Object
-
- org.smallmind.scribe.apache.CommonsLogWrapper
-
- All Implemented Interfaces:
org.apache.commons.logging.Log
public class CommonsLogWrapper extends Object implements org.apache.commons.logging.Log
-
-
Constructor Summary
Constructors Constructor Description CommonsLogWrapper(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddebug(Object o)voiddebug(Object o, Throwable throwable)voiderror(Object o)voiderror(Object o, Throwable throwable)voidfatal(Object o)voidfatal(Object o, Throwable throwable)voidinfo(Object o)voidinfo(Object o, Throwable throwable)booleanisDebugEnabled()booleanisErrorEnabled()booleanisFatalEnabled()booleanisInfoEnabled()booleanisTraceEnabled()booleanisWarnEnabled()voidtrace(Object o)voidtrace(Object o, Throwable throwable)voidwarn(Object o)voidwarn(Object o, Throwable throwable)
-
-
-
Constructor Detail
-
CommonsLogWrapper
public CommonsLogWrapper(String name)
-
-
Method Detail
-
isDebugEnabled
public boolean isDebugEnabled()
- Specified by:
isDebugEnabledin interfaceorg.apache.commons.logging.Log
-
isErrorEnabled
public boolean isErrorEnabled()
- Specified by:
isErrorEnabledin interfaceorg.apache.commons.logging.Log
-
isFatalEnabled
public boolean isFatalEnabled()
- Specified by:
isFatalEnabledin interfaceorg.apache.commons.logging.Log
-
isInfoEnabled
public boolean isInfoEnabled()
- Specified by:
isInfoEnabledin interfaceorg.apache.commons.logging.Log
-
isTraceEnabled
public boolean isTraceEnabled()
- Specified by:
isTraceEnabledin interfaceorg.apache.commons.logging.Log
-
isWarnEnabled
public boolean isWarnEnabled()
- Specified by:
isWarnEnabledin interfaceorg.apache.commons.logging.Log
-
trace
public void trace(Object o)
- Specified by:
tracein interfaceorg.apache.commons.logging.Log
-
trace
public void trace(Object o, Throwable throwable)
- Specified by:
tracein interfaceorg.apache.commons.logging.Log
-
debug
public void debug(Object o)
- Specified by:
debugin interfaceorg.apache.commons.logging.Log
-
debug
public void debug(Object o, Throwable throwable)
- Specified by:
debugin interfaceorg.apache.commons.logging.Log
-
info
public void info(Object o)
- Specified by:
infoin interfaceorg.apache.commons.logging.Log
-
info
public void info(Object o, Throwable throwable)
- Specified by:
infoin interfaceorg.apache.commons.logging.Log
-
warn
public void warn(Object o)
- Specified by:
warnin interfaceorg.apache.commons.logging.Log
-
warn
public void warn(Object o, Throwable throwable)
- Specified by:
warnin interfaceorg.apache.commons.logging.Log
-
error
public void error(Object o)
- Specified by:
errorin interfaceorg.apache.commons.logging.Log
-
error
public void error(Object o, Throwable throwable)
- Specified by:
errorin interfaceorg.apache.commons.logging.Log
-
fatal
public void fatal(Object o)
- Specified by:
fatalin interfaceorg.apache.commons.logging.Log
-
-