|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public LogHandler
A LogHandler
object takes log messages from a Logger and exports them. It might for example, write them to a console or write them to a widget or whatever.
Method Summary | |
---|---|
String |
getHandlerID()
Returns the ID of this handler. |
int |
getLogLevel()
Get the log level specifying which messages will be logged by this LogHandler . |
void |
log(String loggerName,
int logLevel,
String method,
String message)
Method that get's invoked as soon as a subscribed and valid event is published in the logging framework. |
Method Detail |
---|
String getHandlerID()
null
.
int getLogLevel()
LogHandler
. Message levels lower than this level will be discarded.
void log(String loggerName, int logLevel, String method, String message)
loggerName
-
the name of the logger that published the event.logLevel
-
the LogLevel of the published event.method
-
the method that caused the event.message
-
the message sent by the method
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |