|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.resilientedge.util.logger.AbstractHandler | +--com.resilientedge.util.logger.console.ConsoleHandler
A Handler for logging messages to the Console.
Constructor Summary | |
ConsoleHandler()
Construct a handler with its default formatter. |
Method Summary | |
Formatter |
getDefaultFormatter()
This method returns the default Formatter for this Handler. |
void |
publish(LogRecord logRecord)
This method processes the log record and displays the message using System.out.println(). |
Methods inherited from class com.resilientedge.util.logger.AbstractHandler |
getFormatter, lookupConfig, setFormatter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ConsoleHandler()
Method Detail |
public Formatter getDefaultFormatter()
getDefaultFormatter
in class AbstractHandler
public void publish(LogRecord logRecord) throws LoggerException
publish
in class AbstractHandler
logRecord
- LoggerException
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |