java.util.logging
public class SimpleFormatter extends Formatter
SimpleFormatter
formats log records into
short human-readable messages, typically one or two lines.
Constructor Summary | |
---|---|
SimpleFormatter()
Constructs a SimpleFormatter. |
Method Summary | |
---|---|
String | format(LogRecord record)
Formats a log record into a String.
|
Parameters: record the log record to be formatted.
Returns: a short human-readable message, typically one or two lines. Lines are separated using the default platform line separator.
Throws: NullPointerException if record
is null
.