|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Log
A simple logging interface abstracting logging APIs.
The four logging levels used by Log
are (in order):
Method Summary | |
---|---|
void |
debug(String message)
Log a message with debug log level. |
void |
debug(String message,
Throwable t)
Log an error with debug log level. |
void |
error(String message)
Log a message with error log level. |
void |
error(String message,
Throwable t)
Log an error with error log level. |
void |
info(String message)
Log a message with info log level. |
void |
info(String message,
Throwable t)
Log an error with info log level. |
boolean |
isDebugEnabled()
Is debug logging currently enabled? |
void |
warn(String message)
Log a message with warn log level. |
void |
warn(String message,
Throwable t)
Log an error with warn log level. |
Method Detail |
---|
boolean isDebugEnabled()
Is debug logging currently enabled?
Call this method to prevent having to perform expensive operations (for example, String
concatenation) when the log level is more than debug.
void debug(String message)
Log a message with debug log level.
message
- log this messagevoid debug(String message, Throwable t)
Log an error with debug log level.
message
- log this messaget
- log this causevoid info(String message)
Log a message with info log level.
message
- log this messagevoid info(String message, Throwable t)
Log an error with info log level.
message
- log this messaget
- log this causevoid warn(String message)
Log a message with warn log level.
message
- log this messagevoid warn(String message, Throwable t)
Log an error with warn log level.
message
- log this messaget
- log this causevoid error(String message)
Log a message with error log level.
message
- log this messagevoid error(String message, Throwable t)
Log an error with error log level.
message
- log this messaget
- log this cause
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |