public class ConsoleOutErrHandler
extends java.util.logging.Handler
The ConsoleOutErrHandler writes log messages
of severity WARNING and higher to the System.err
stream, and all other log messages to System.out.
It uses a LogFormatter to format the records.
| Constructor | Description |
|---|---|
ConsoleOutErrHandler() |
Constructor for ConsoleOutErrHandler.
|
| Modifier and Type | Method | Description |
|---|---|---|
void |
close() |
|
void |
flush() |
|
void |
publish(java.util.logging.LogRecord record) |
public ConsoleOutErrHandler()
public void publish(java.util.logging.LogRecord record)
publish in class java.util.logging.Handlerrecord - a log recordHandler.publish(LogRecord)public void flush()
flush in class java.util.logging.HandlerHandler.flush()public void close()
throws java.lang.SecurityException
close in class java.util.logging.Handlerjava.lang.SecurityExceptionHandler.close()