java.util.logging
public class SimpleFormatter extends Formatter
SimpleFormatter
formats log records into
short human-readable messages, typically one or two lines.Constructor and Description |
---|
SimpleFormatter()
Constructs a SimpleFormatter.
|
public SimpleFormatter()
public String format(LogRecord record)
format
in class Formatter
record
- the log record to be formatted.NullPointerException
- if record
is null
.