java.util.logging
Class SimpleFormatter
java.lang.Object
|
+--java.util.logging.Formatter
|
+--java.util.logging.SimpleFormatter
public class
SimpleFormatterextends
Formatter A SimpleFormatter formats log records into
short human-readable messages, typically one or two lines.
Author:- Sascha Brawer (brawer@acm.org)
SimpleFormatter
public SimpleFormatter() Constructs a SimpleFormatter.
format
public String format(java.util.logging.LogRecord record) Formats a log record into a String.
Parameters:
Returns:
- a short human-readable message, typically one or two
lines. Lines are separated using the default platform line
separator.
Throws:
SimpleFormatterformats log records into short human-readable messages, typically one or two lines.