|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.epam.common.logging.DefaultLog
public class DefaultLog
Default log implementation.
This log supports only error, fatal and warn levels.
| Constructor Summary | |
|---|---|
DefaultLog()
|
|
| 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)
Writes error message to err output stream. |
void |
error(Object o,
Throwable throwable)
Writes error message to err output stream. |
void |
fatal(Object o)
Writes error message to err output stream. |
void |
fatal(Object o,
Throwable throwable)
Writes error message to err output stream. |
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()
Always returns false. |
boolean |
isErrorEnabled()
Always returns true. |
boolean |
isFatalEnabled()
Always returns true. |
boolean |
isInfoEnabled()
Check whether this category is enabled for the INFO Level. |
boolean |
isTraceEnabled()
Always returns false. |
boolean |
isWarnEnabled()
Always returns true. |
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)
Writes error message to output stream. |
void |
warn(Object o,
Throwable throwable)
Writes error message to output stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultLog()
| Method Detail |
|---|
public boolean isDebugEnabled()
isDebugEnabled in interface LogLog.isDebugEnabled()public void debug(Object o)
Log
debug in interface Logo - the messageLog.debug(Object)
public void debug(Object o,
Throwable throwable)
Log
debug in interface Logo - the messagethrowable - the errorLog.debug(Object, Throwable)public boolean isErrorEnabled()
isErrorEnabled in interface LogLog.isErrorEnabled()public void error(Object o)
error in interface Logo - the messageLog.error(Object)
public void error(Object o,
Throwable throwable)
error in interface Logo - the messagethrowable - the errorLog.error(Object, Throwable)public boolean isFatalEnabled()
isFatalEnabled in interface LogLog.isFatalEnabled()public void fatal(Object o)
fatal in interface Logo - the messageLog.fatal(Object)
public void fatal(Object o,
Throwable throwable)
fatal in interface Logo - the messagethrowable - the errorLog.fatal(Object, Throwable)public boolean isInfoEnabled()
Log
isInfoEnabled in interface Logpublic void info(Object o)
Log
info in interface Logo - the messageLog.info(Object)
public void info(Object o,
Throwable throwable)
Log
info in interface Logo - the messagethrowable - the errorLog.info(Object, Throwable)public boolean isTraceEnabled()
isTraceEnabled in interface LogLog.isTraceEnabled()public void trace(Object o)
Log
trace in interface Logo - the messageLog.trace(Object)
public void trace(Object o,
Throwable throwable)
Log
trace in interface Logo - the messagethrowable - the errorLog.trace(Object, Throwable)public boolean isWarnEnabled()
isWarnEnabled in interface LogLog.isWarnEnabled()public void warn(Object o)
warn in interface Logo - the messageLog.warn(Object)
public void warn(Object o,
Throwable throwable)
warn in interface Logo - the messagethrowable - the errorLog.warn(Object, Throwable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||