public final class SimpleLogFormatter
extends java.util.logging.SimpleFormatter
Modifier and Type | Field and Description |
---|---|
private java.lang.StringBuffer |
buffer |
private java.util.Date |
date |
private java.text.SimpleDateFormat |
formatter |
static int |
LOGLEVEL_CONFIG |
static int |
LOGLEVEL_FINE |
static int |
LOGLEVEL_FINER |
static int |
LOGLEVEL_FINEST |
static int |
LOGLEVEL_INFO |
static int |
LOGLEVEL_SEVERE |
static int |
LOGLEVEL_WARNING |
static int |
LOGLEVEL_ZERO |
static char |
LOGTOKEN_CONFIG |
static char |
LOGTOKEN_FINE |
static char |
LOGTOKEN_FINER |
static char |
LOGTOKEN_FINEST |
static char |
LOGTOKEN_INFO |
static char |
LOGTOKEN_SEVERE |
static char |
LOGTOKEN_WARNING |
static char |
LOGTOKEN_ZERO |
private java.text.FieldPosition |
position |
Constructor and Description |
---|
SimpleLogFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
format(java.util.logging.LogRecord record) |
public static final int LOGLEVEL_ZERO
public static final int LOGLEVEL_SEVERE
public static final int LOGLEVEL_WARNING
public static final int LOGLEVEL_CONFIG
public static final int LOGLEVEL_INFO
public static final int LOGLEVEL_FINE
public static final int LOGLEVEL_FINER
public static final int LOGLEVEL_FINEST
public static final char LOGTOKEN_ZERO
public static final char LOGTOKEN_SEVERE
public static final char LOGTOKEN_WARNING
public static final char LOGTOKEN_CONFIG
public static final char LOGTOKEN_INFO
public static final char LOGTOKEN_FINE
public static final char LOGTOKEN_FINER
public static final char LOGTOKEN_FINEST
private final java.util.Date date
private final java.text.FieldPosition position
private final java.text.SimpleDateFormat formatter
private final java.lang.StringBuffer buffer