|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.Formatter
uk.me.parabola.log.UsefulFormatter
public class UsefulFormatter
Prints the message all on one line, which amazingly is not the default behaviour in j.u.l, no wonder no one uses it. MUST be public whatever crazy static analyzers might say.
Constructor Summary | |
---|---|
UsefulFormatter()
|
Method Summary | |
---|---|
java.lang.String |
format(java.util.logging.LogRecord record)
|
void |
setShowTime(boolean showTime)
|
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 |
Constructor Detail |
---|
public UsefulFormatter()
Method Detail |
---|
public java.lang.String format(java.util.logging.LogRecord record)
format
in class java.util.logging.Formatter
public void setShowTime(boolean showTime)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |