|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.logging.Handler
java.util.logging.StreamHandler
net.sf.statcvs.util.ConsoleOutHandler
public class ConsoleOutHandler
A simplified copy of java.util.logging.ConsoleHandler.
It writes to System.out instead of
System.err and uses the LogFormatter
to format
| Constructor Summary | |
|---|---|
ConsoleOutHandler()
Create a ConsoleOutHandler for System.out. |
|
| Method Summary | |
|---|---|
void |
close()
Override StreamHandler.close to do a flush but not to close the output stream. |
void |
publish(java.util.logging.LogRecord record)
Publish a LogRecord. |
| Methods inherited from class java.util.logging.StreamHandler |
|---|
flush, isLoggable, setEncoding, setOutputStream |
| Methods inherited from class java.util.logging.Handler |
|---|
getEncoding, getErrorManager, getFilter, getFormatter, getLevel, reportError, setErrorManager, setFilter, setFormatter, setLevel |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsoleOutHandler()
| Method Detail |
|---|
public void publish(java.util.logging.LogRecord record)
The logging request was made initially to a Logger object, which initialized the LogRecord and forwarded it here.
publish in class java.util.logging.StreamHandlerrecord - description of the log eventpublic void close()
close in class java.util.logging.StreamHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||