| |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.util.logging
类 SimpleFormatter
java.lang.Object java.util.logging.Formatter java.util.logging.SimpleFormatter
public class SimpleFormatter
- extends Formatter
以可读格式输出 LogRecord 的简单摘要。摘要通常为 1 或 2 行。
- 从以下版本开始:
- 1.4
构造方法摘要 | |
---|---|
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 |
构造方法详细信息 |
---|
SimpleFormatter
public SimpleFormatter()
方法详细信息 |
---|
format
public String format(LogRecord record)
所有类
| |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |