Uses of Class
java.util.logging.Formatter
Package | Description |
---|---|
java.util.logging |
Provides the classes and interfaces of
the Java™ 2 platform's core logging facilities.
|
-
Uses of Formatter in java.util.logging
Subclasses of Formatter in java.util.logging Modifier and Type Class Description class
SimpleFormatter
Print a brief summary of theLogRecord
in a human readable format.class
XMLFormatter
Format a LogRecord into a standard XML format.Methods in java.util.logging that return Formatter Modifier and Type Method Description Formatter
Handler. getFormatter()
Return theFormatter
for thisHandler
.Methods in java.util.logging with parameters of type Formatter Modifier and Type Method Description void
Handler. setFormatter(Formatter newFormatter)
Set aFormatter
.Constructors in java.util.logging with parameters of type Formatter Constructor Description StreamHandler(OutputStream out, Formatter formatter)
Create aStreamHandler
with a givenFormatter
and output stream.