|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Log
A simple interface for Loggers. Adapted version of Apache JK commons logging Log interface. User: seb Date: Feb 27, 2007 Time: 1:04:23 PM
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. |
Method Detail |
---|
boolean isDebugEnabled()
boolean isErrorEnabled()
boolean isFatalEnabled()
boolean isInfoEnabled()
boolean isTraceEnabled()
boolean isWarnEnabled()
void trace(Object message)
Log a message with trace log level.
message
- log this messagevoid trace(Object message, Throwable t)
Log an error with trace log level.
message
- log this messaget
- log this causevoid debug(Object message)
Log a message with debug log level.
message
- log this messagevoid debug(Object message, Throwable t)
Log an error with debug log level.
message
- log this messaget
- log this causevoid info(Object message)
Log a message with info log level.
message
- log this messagevoid info(Object message, Throwable t)
Log an error with info log level.
message
- log this messaget
- log this causevoid warn(Object message)
Log a message with warn log level.
message
- log this messagevoid warn(Object message, Throwable t)
Log an error with warn log level.
message
- log this messaget
- log this causevoid error(Object message)
Log a message with error log level.
message
- log this messagevoid error(Object message, Throwable t)
Log an error with error log level.
message
- log this messaget
- log this causevoid fatal(Object message)
Log a message with fatal log level.
message
- log this messagevoid fatal(Object message, Throwable t)
Log an error with fatal log level.
message
- log this messaget
- log this cause
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |