|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object kieker.common.logging.LogImplJUnit
public final class LogImplJUnit
This is an actual implementation of the logging interface used by the JUnit logger.
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. |
static void |
disableThrowable(Class<? extends Throwable> clazz)
|
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? |
static void |
reset()
|
void |
warn(String message)
Log a message with warn log level. |
void |
warn(String message,
Throwable t)
Log an error with warn log level. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public final 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.
isDebugEnabled
in interface Log
public final void debug(String message)
Log a message with debug log level.
debug
in interface Log
message
- log this messagepublic final void debug(String message, Throwable t)
Log an error with debug log level.
debug
in interface Log
message
- log this messaget
- log this causepublic final void info(String message)
Log a message with info log level.
info
in interface Log
message
- log this messagepublic final void info(String message, Throwable t)
Log an error with info log level.
info
in interface Log
message
- log this messaget
- log this causepublic final void warn(String message)
Log a message with warn log level.
warn
in interface Log
message
- log this messagepublic final void warn(String message, Throwable t)
Log an error with warn log level.
warn
in interface Log
message
- log this messaget
- log this causepublic final void error(String message)
Log a message with error log level.
error
in interface Log
message
- log this messagepublic final void error(String message, Throwable t)
Log an error with error log level.
error
in interface Log
message
- log this messaget
- log this causepublic static final void disableThrowable(Class<? extends Throwable> clazz)
public static final void reset()
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |