java.lang.Objectjava.util.logging.Formatter
java.util.logging.SimpleFormatter
public class SimpleFormatter
以可读格式输出 LogRecord 的简单摘要。摘要通常为 1 或 2 行。
| 构造方法摘要 | |
|---|---|
SimpleFormatter() |
|
| 方法摘要 | |
|---|---|
String |
format(LogRecord record) 格式化给定的 LogRecord。 |
| 从类 java.util.logging.Formatter 继承的方法 |
|---|
formatMessage, getHead, getTail |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| 构造方法详细信息 |
|---|
public SimpleFormatter()
| 方法详细信息 |
|---|
public String format(LogRecord record)