|
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.LogImplWebguiLogging
public final class LogImplWebguiLogging
This is a simple logger for the Kieker WebGUI. It stores the log messages within a buffer of a static size. If the buffer is full, the oldest entry will be removed for new entries. As the entries have to be accessible from outside, the queues are stored statically.
Method Summary | |
---|---|
void |
clear()
Clears the saved entries within this logger. |
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. |
static String[] |
getAvailableLogs()
Delivers an array with the names of all used loggers. |
static String[] |
getEntries(String name)
Delivers an array with all entries of the logger with the given name. |
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public 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 void debug(String message)
Log a message with debug log level.
debug
in interface Log
message
- log this messagepublic void debug(String message, Throwable t)
Log an error with debug log level.
debug
in interface Log
message
- log this messaget
- log this causepublic void info(String message)
Log a message with info log level.
info
in interface Log
message
- log this messagepublic void info(String message, Throwable t)
Log an error with info log level.
info
in interface Log
message
- log this messaget
- log this causepublic void warn(String message)
Log a message with warn log level.
warn
in interface Log
message
- log this messagepublic void warn(String message, Throwable t)
Log an error with warn log level.
warn
in interface Log
message
- log this messaget
- log this causepublic void error(String message)
Log a message with error log level.
error
in interface Log
message
- log this messagepublic void error(String message, Throwable t)
Log an error with error log level.
error
in interface Log
message
- log this messaget
- log this causepublic void clear()
public static String[] getAvailableLogs()
public static String[] getEntries(String name)
name
- The name of the logger.
|
Kieker 1.9 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |