|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.epam.common.logging.SLF4JLogWrapper
public class SLF4JLogWrapper
SLF4J log wrapper.
Constructor Summary | |
---|---|
SLF4JLogWrapper(org.slf4j.Logger logger)
|
Method Summary | |
---|---|
void |
debug(Object o)
Log a message object with the DEBUG level. |
void |
debug(Object o,
Throwable throwable)
Log a message object with the DEBUG level including the stack trace of the Throwable. |
void |
error(Object o)
Log a message object with the ERROR level. |
void |
error(Object o,
Throwable throwable)
Log a message object with the DEBUG level including the stack trace of the Throwable. |
void |
fatal(Object o)
Log a message object with the FATAL level. |
void |
fatal(Object o,
Throwable throwable)
Log a message object with the FATAL level including the stack trace of the Throwable. |
void |
info(Object o)
Log a message object with the INFO level. |
void |
info(Object o,
Throwable throwable)
Log a message object with the INFO level including the stack trace of the Throwable. |
boolean |
isDebugEnabled()
Check whether this category is enabled for the DEBUG Level. |
boolean |
isErrorEnabled()
Check whether this category is enabled for the ERROR Level. |
boolean |
isFatalEnabled()
Check whether this category is enabled for the FATAL Level. |
boolean |
isInfoEnabled()
Check whether this category is enabled for the INFO Level. |
boolean |
isTraceEnabled()
Check whether this category is enabled for the TRACE Level. |
boolean |
isWarnEnabled()
Check whether this category is enabled for the WARN Level. |
void |
trace(Object o)
Log a message object with the TRACE level. |
void |
trace(Object o,
Throwable throwable)
Log a message object with the trace level including the stack trace of the Throwable. |
void |
warn(Object o)
Log a message object with the WARN level. |
void |
warn(Object o,
Throwable throwable)
Log a message object with the WARN level including the stack trace of the Throwable. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SLF4JLogWrapper(org.slf4j.Logger logger)
Method Detail |
---|
public void debug(Object o)
Log
debug
in interface Log
o
- the messageLog.debug(Object)
public void debug(Object o, Throwable throwable)
Log
debug
in interface Log
o
- the messagethrowable
- the errorLog.debug(Object, Throwable)
public void error(Object o)
Log
error
in interface Log
o
- the messageLog.error(Object)
public void error(Object o, Throwable throwable)
Log
error
in interface Log
o
- the messagethrowable
- the errorLog.error(Object, Throwable)
public void fatal(Object o)
Log
fatal
in interface Log
o
- the messageLog.fatal(Object)
public void fatal(Object o, Throwable throwable)
Log
fatal
in interface Log
o
- the messagethrowable
- the errorLog.fatal(Object, Throwable)
public void info(Object o)
Log
info
in interface Log
o
- the messageLog.info(Object)
public void info(Object o, Throwable throwable)
Log
info
in interface Log
o
- the messagethrowable
- the errorLog.info(Object, Throwable)
public boolean isDebugEnabled()
Log
isDebugEnabled
in interface Log
Log.isDebugEnabled()
public boolean isErrorEnabled()
Log
isErrorEnabled
in interface Log
Log.isErrorEnabled()
public boolean isFatalEnabled()
Log
isFatalEnabled
in interface Log
Log.isFatalEnabled()
public boolean isInfoEnabled()
Log
isInfoEnabled
in interface Log
Log.isInfoEnabled()
public boolean isTraceEnabled()
Log
isTraceEnabled
in interface Log
Log.isTraceEnabled()
public boolean isWarnEnabled()
Log
isWarnEnabled
in interface Log
Log.isWarnEnabled()
public void trace(Object o)
Log
trace
in interface Log
o
- the messageLog.trace(Object)
public void trace(Object o, Throwable throwable)
Log
trace
in interface Log
o
- the messagethrowable
- the errorLog.trace(Object, Throwable)
public void warn(Object o)
Log
warn
in interface Log
o
- the messageLog.warn(Object)
public void warn(Object o, Throwable throwable)
Log
warn
in interface Log
o
- the messagethrowable
- the errorLog.warn(Object, Throwable)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |