java.lang.Object | |||
↳ | java.util.logging.Handler | ||
↳ | java.util.logging.StreamHandler | ||
↳ | java.util.logging.ConsoleHandler |
A handler that writes log messages to the standard output stream
System.err
.
This handler reads the following properties from the log manager to initialize itself:
Level.INFO
if this property is not found or has an
invalid value.
null
if this
property is not found or has an invalid value.
java.util.logging.SimpleFormatter
if this property is not found or
has an invalid value.
null
if this
property is not found or has an invalid value.
This class is not thread-safe.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Constructs a
ConsoleHandler
object.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
Closes this handler.
|
||||||||||
|
Logs a record if necessary.
|
[Expand]
Inherited Methods
|
|||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.util.logging.StreamHandler
|
|||||||||||
From class
java.util.logging.Handler
|
|||||||||||
From class
java.lang.Object
|
Closes this handler. The
System.err
is flushed but not closed.
Logs a record if necessary. A flush operation will be done.
record | the log record to be logged. |
---|