public class ConsoleHandler extends StreamHandler
Configuration: By default each ConsoleHandler is initialized to the Log level Level.INFO and will use the Formatter class java.util.logging.SimpleFormatter.
| Constructor and Description |
|---|
ConsoleHandler()
Create a ConsoleHandler for System.err.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Override StreamHandler.close to do a flush but not
to close the output stream.
|
flush, isLoggable, publish, setEncoding, setOutputStreamgetFilter, getFormatter, getLevel, reportError, setFilter, setFormatter, setLevelpublic ConsoleHandler()
The ConsoleHandler is configured based on LogManager properties (or their default values).
public void close()
close in class StreamHandlerCopyright (c) 2013, Oracle and/or its affiliates. All rights reserved.
ing HTML relocated from her