com.sibvisions.util.log.jdk
Class JdkLineFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by com.sibvisions.util.log.jdk.JdkLineFormatter

public class JdkLineFormatter
extends Formatter

The JdkLineFormatter is a Formatter implementation. The default format is:

 dd.mm.yyyy HH:mi:ss [ <Level> ] <Text> <caller class> <caller method>
 
If the text contains more than 100 characters the format is:

 dd.mm.yyyy HH:mi:ss [ <Level> ] <caller class> <caller method>
                     <Text>
 


Constructor Summary
JdkLineFormatter()
           
 
Method Summary
 String format(LogRecord pRecord)
          
 
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

JdkLineFormatter

public JdkLineFormatter()
Method Detail

format

public String format(LogRecord pRecord)

Specified by:
format in class Formatter


Copyright © 2009 SIB Visions GmbH. All Rights Reserved.