vs.debug
Class NiceLogFormatter
java.lang.Object
java.util.logging.Formatter
vs.debug.NiceLogFormatter
public class NiceLogFormatter
- extends java.util.logging.Formatter
This custom formatter formats parts of a log record.
- Author:
- swartjes
Created on 7-jun-2005
Method Summary |
java.lang.String |
format(java.util.logging.LogRecord rec)
|
java.lang.String |
getHead(java.util.logging.Handler h)
|
java.lang.String |
getTail(java.util.logging.Handler h)
|
Methods inherited from class java.util.logging.Formatter |
formatMessage |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NiceLogFormatter
public NiceLogFormatter()
format
public java.lang.String format(java.util.logging.LogRecord rec)
- Specified by:
format
in class java.util.logging.Formatter
getHead
public java.lang.String getHead(java.util.logging.Handler h)
- Overrides:
getHead
in class java.util.logging.Formatter
getTail
public java.lang.String getTail(java.util.logging.Handler h)
- Overrides:
getTail
in class java.util.logging.Formatter