This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
java.util.logging
class SimpleFormatter
-
Most common way to construct:
-
SimpleFormatter formatter = new SimpleFormatter();
Based on 6 examples
public class SimpleFormatter
extends Formatter
Print a brief summary of the LogRecord in a human readable
format. The summary will typically be 1 or 2 lines.
Method Summary |
String |
Format the given LogRecord.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleFormatter
public SimpleFormatter()
-
format
public synchronized String format(LogRecord record)
-
Format the given LogRecord.
- Overrides:
format
in class Formatter
- Parameters:
record
- the log record to be formatted.
- Returns:
- a formatted log record
This documentation differs from the official API.
Jadeite adds
extra features to the API including:
variable font sizes,
constructions examples,
placeholders for classes and methods, and auto-generated “See Also” links.
Additionally it
is missing some items found in standard Javadoc documentation, including:
generics type information,
“Deprecated” tags and comments,
“See Also” links,
along with other minor differences.
Please send any questions or feedback to
bam@cs.cmu.edu.
This page displays the
Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
The official Sun™ documentation can be found here at
http://java.sun.com/javase/6/docs/api/.