|
|||||||||
| Home >> All >> java >> util >> [ logging overview ] | PREV NEXT | ||||||||
Uses of Class
java.util.logging.Formatter
| Uses of Formatter in java.util.logging |
| Subclasses of Formatter in java.util.logging | |
class |
SimpleFormatter
A SimpleFormatter formats log records into
short human-readable messages, typically one or two lines. |
class |
XMLFormatter
An XMLFormatter formats LogRecords into
a standard XML format. |
| Fields in java.util.logging declared as Formatter | |
(package private) Formatter |
Handler.formatter
|
| Methods in java.util.logging that return Formatter | |
Formatter |
Handler.getFormatter()
Returns the Formatter which will be used to
localize the text of log messages and to substitute
message parameters. |
| Methods in java.util.logging with parameters of type Formatter | |
void |
Handler.setFormatter(Formatter formatter)
Sets the Formatter which will be used to
localize the text of log messages and to substitute
message parameters. |
| Constructors in java.util.logging with parameters of type Formatter | |
StreamHandler(java.io.OutputStream out,
Formatter formatter)
Creates a StreamHandler that formats log messages
with the specified Formatter and publishes them to the specified
output stream. |
|
StreamHandler(java.io.OutputStream out,
java.lang.String propertyPrefix,
Level defaultLevel,
Formatter formatter,
java.lang.Class defaultFormatterClass)
|
|
|
|||||||||
| Home >> All >> java >> util >> [ logging overview ] | PREV NEXT | ||||||||