com.ten60.netkernel.util
Class ConsoleFormatter
java.lang.Object
java.util.logging.Formatter
com.ten60.netkernel.util.ConsoleFormatter
- public class ConsoleFormatter
- extends Formatter
A custom formatter for simple tidy output on the console
Method Summary |
String |
format(LogRecord record)
Format the given log record and return the formatted string. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleFormatter
public ConsoleFormatter()
format
public String format(LogRecord record)
- Format the given log record and return the formatted string.
The resulting formatted String will normally include a
localized and formated version of the LogRecord's message field.
The Formatter.formatMessage convenience method can (optionally)
be used to localize and format the message field.
- Parameters:
record
- the log record to be formatted.
- Returns:
- the formatted log record
Copyright © 2002-2004 1060 Research Ltd. All Rights Reserved.