net.sf.colossus.util
Class VerySimpleFormatter
java.lang.Object
java.util.logging.Formatter
net.sf.colossus.util.VerySimpleFormatter
public class VerySimpleFormatter
- extends java.util.logging.Formatter
This is a logging formatter doing not much more than the bare minimum.
We don't log the source class/method, we log the level only if WARNING
or SEVERE. Exceptions are logged if given, but otherwise it is more like
printing to stdout, just that it is configurable and it is possible to have
a more verbose log in parallel.
Method Summary |
java.lang.String |
format(java.util.logging.LogRecord record)
|
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 |
LINE_SEPARATOR
public static final java.lang.String LINE_SEPARATOR
VerySimpleFormatter
public VerySimpleFormatter()
format
public java.lang.String format(java.util.logging.LogRecord record)
- Specified by:
format
in class java.util.logging.Formatter