de.fhg.igd.logging.sun
Class StandardFormatter
java.lang.Object
java.util.logging.Formatter
de.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 |
cm_
protected Chronometer cm_
- The
Chronometer
that creates the intervals between
two anchor timestamp log entries
StandardFormatter
public StandardFormatter(Chronometer cm)
- Create a Sun
StandardFormatter
.
- Parameters:
cm
- The Chronometer
for this formatter
- Throws:
IllegalArgumentException
- if the Chronometer
is
null
format
public String format(LogRecord record)
toString
public String toString()
Copyright © Fraunhofer Gesellschaft. All
Rights Reserved.