de.ls5.jlearn.logging.jre
Class LogFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by de.ls5.jlearn.logging.jre.LogFormatter

public class LogFormatter
extends Formatter

Simplified log formatter that requires only only line insteadt of the SimpleFormatter. see http://www.javalobby.org/java/forums/t18515.html

Author:
Oliver Bauer

Constructor Summary
LogFormatter()
           
 
Method Summary
 String format(LogRecord record)
          A Custom format implementation that is designed for brevity.
 
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

LogFormatter

public LogFormatter()
Method Detail

format

public String format(LogRecord record)
A Custom format implementation that is designed for brevity.

Specified by:
format in class Formatter


Copyright © 2011. All Rights Reserved.