|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object ch.panter.li.bi.util.SysoutLog
public class SysoutLog
Simple Log implementation writing to STDOUT. Messages with level ERROR and FATAL are written to STDERR. User: seb Date: Feb 27, 2007 Time: 1:11:21 PM
Constructor Summary | |
---|---|
SysoutLog(String tag)
|
Method Summary | |
---|---|
void |
debug(Object message)
Log a message with debug log level. |
void |
debug(Object message,
Throwable t)
Log an error with debug log level. |
void |
error(Object message)
Log a message with error log level. |
void |
error(Object message,
Throwable t)
Log an error with error log level. |
void |
fatal(Object message)
Log a message with fatal log level. |
void |
fatal(Object message,
Throwable t)
Log an error with fatal log level. |
void |
info(Object message)
Log a message with info log level. |
void |
info(Object message,
Throwable t)
Log an error with info log level. |
boolean |
isDebugEnabled()
|
boolean |
isErrorEnabled()
|
boolean |
isFatalEnabled()
|
boolean |
isInfoEnabled()
|
boolean |
isTraceEnabled()
|
boolean |
isWarnEnabled()
|
void |
trace(Object message)
Log a message with trace log level. |
void |
trace(Object message,
Throwable t)
Log an error with trace log level. |
void |
warn(Object message)
Log a message with warn log level. |
void |
warn(Object message,
Throwable t)
Log an error with warn log level. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SysoutLog(String tag)
Method Detail |
---|
public boolean isDebugEnabled()
isDebugEnabled
in interface Log
public boolean isErrorEnabled()
isErrorEnabled
in interface Log
public boolean isFatalEnabled()
isFatalEnabled
in interface Log
public boolean isInfoEnabled()
isInfoEnabled
in interface Log
public boolean isTraceEnabled()
isTraceEnabled
in interface Log
public boolean isWarnEnabled()
isWarnEnabled
in interface Log
public void trace(Object message)
Log a message with trace log level.
trace
in interface Log
message
- log this messagepublic void trace(Object message, Throwable t)
Log an error with trace log level.
trace
in interface Log
message
- log this messaget
- log this causepublic void debug(Object message)
Log a message with debug log level.
debug
in interface Log
message
- log this messagepublic void debug(Object message, Throwable t)
Log an error with debug log level.
debug
in interface Log
message
- log this messaget
- log this causepublic void info(Object message)
Log a message with info log level.
info
in interface Log
message
- log this messagepublic void info(Object message, Throwable t)
Log an error with info log level.
info
in interface Log
message
- log this messaget
- log this causepublic void warn(Object message)
Log a message with warn log level.
warn
in interface Log
message
- log this messagepublic void warn(Object message, Throwable t)
Log an error with warn log level.
warn
in interface Log
message
- log this messaget
- log this causepublic void error(Object message)
Log a message with error log level.
error
in interface Log
message
- log this messagepublic void error(Object message, Throwable t)
Log an error with error log level.
error
in interface Log
message
- log this messaget
- log this causepublic void fatal(Object message)
Log a message with fatal log level.
fatal
in interface Log
message
- log this messagepublic void fatal(Object message, Throwable t)
Log an error with fatal log level.
fatal
in interface Log
message
- log this messaget
- log this cause
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |