m.c.m.proxyma.log
Class OnlyTheMessageFormatter
java.lang.Object
java.util.logging.Formatter
m.c.m.proxyma.log.OnlyTheMessageFormatter
public class OnlyTheMessageFormatter
- extends java.util.logging.Formatter
This custom formatter that "doesn't format" anything.
In othed words the messages received from this formatter have to be
pre formatted externally.
NOTE: this software is released under GPL License.
See the LICENSE of this distribution for more informations.
- Version:
- $Id: OnlyTheMessageFormatter.java 140 2010-06-20 20:30:05Z marcolinuz $
- Author:
- Marco Casavecchia Morganti (marcolinuz) [marcolinuz-at-gmail.com]
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 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OnlyTheMessageFormatter
public OnlyTheMessageFormatter()
- Initialize parent class.
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
Copyright © 2010. All Rights Reserved.