|
qflib 0.98.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--de.qfs.lib.log.DefaultLogFormat
This is a default implementation of the LogFormat
interface that produces the same result as the LogEntry.toString method before Version 0.98.0
| Constructor Summary | |
DefaultLogFormat()
Create a new DefaultLogFormat that uses a default DateFormat of HH:mm:ss.SSS for timestamps. |
|
DefaultLogFormat(java.text.DateFormat df)
Create a new DefaultLogFormat. |
|
| Method Summary | |
java.lang.String |
format(LogEntry entry)
Format one LogEntry. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DefaultLogFormat()
DateFormat of HH:mm:ss.SSS for timestamps.public DefaultLogFormat(java.text.DateFormat df)
df - The format to use for timestamps.| Method Detail |
public java.lang.String format(LogEntry entry)
LogEntry.format in interface LogFormatentry - The LogEntry to format.
|
qflib 0.98.1 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||