com.sleepycat.je.utilint
Class TracerFormatter
java.lang.Object
java.util.logging.Formatter
com.sleepycat.je.utilint.TracerFormatter
- Direct Known Subclasses:
- ReplicationFormatter
public class TracerFormatter
- extends Formatter
Formatter for java.util.logging output.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TracerFormatter
public TracerFormatter()
TracerFormatter
public TracerFormatter(String envName)
getDate
protected String getDate(long millis)
format
public String format(LogRecord record)
- Format the log record in this form:
- Specified by:
format
in class Formatter
- Parameters:
record
- the log record to be formatted.
- Returns:
- a formatted log record
appendEnvironmentName
protected void appendEnvironmentName(StringBuilder sb)
getThrown
protected void getThrown(LogRecord record,
StringBuilder sb)
makeDateFormat
public static DateFormat makeDateFormat()
Copyright (c) 2004-2012 Oracle. All rights reserved.