|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.logging.Formatter net.sf.jso.logging.JSOFormatter
A log record formatter.
Field Summary | |
static java.lang.String |
DEFAULT_DATE_FORMAT
Default date and time format for logger timestamping. |
Constructor Summary | |
JSOFormatter()
Constructs the formatter. |
|
JSOFormatter(java.lang.String pattern,
java.util.Locale locale)
Constructs the formatter. |
Method Summary | |
java.lang.String |
format(java.util.logging.LogRecord record)
Format the given log record and return the formatted string. |
Methods inherited from class java.util.logging.Formatter |
formatMessage, getHead, getTail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String DEFAULT_DATE_FORMAT
Constructor Detail |
public JSOFormatter()
public JSOFormatter(java.lang.String pattern, java.util.Locale locale)
pattern
- The pattern describing the date and time format.locale
- The locale whose date format symbols should be used.Method Detail |
public java.lang.String format(java.util.logging.LogRecord record)
record
- The log record to be formatted.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |