de.fhg.igd.logging.sun
Class StandardFormatter

java.lang.Object
  extended byjava.util.logging.Formatter
      extended byde.fhg.igd.logging.sun.StandardFormatter

public class StandardFormatter
extends Formatter

This class defines how to log entries written by the Sun logger should look like.

Version:
"$Id: StandardFormatter.java 1913 2007-08-08 02:41:53Z jpeters $"
Author:
Matthias Pressfreund

Field Summary
protected  Chronometer cm_
          The Chronometer that creates the intervals between two anchor timestamp log entries
 
Constructor Summary
StandardFormatter(Chronometer cm)
          Create a Sun StandardFormatter.
 
Method Summary
 String format(LogRecord record)
           
 String toString()
           
 
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, wait, wait, wait
 

Field Detail

cm_

protected Chronometer cm_
The Chronometer that creates the intervals between two anchor timestamp log entries

Constructor Detail

StandardFormatter

public StandardFormatter(Chronometer cm)
Create a Sun StandardFormatter.

Parameters:
cm - The Chronometer for this formatter
Throws:
IllegalArgumentException - if the Chronometer is null
Method Detail

format

public String format(LogRecord record)

toString

public String toString()


Copyright © Fraunhofer Gesellschaft. All Rights Reserved.