org.jcoderz.commons
Class LogFormatter
java.lang.Object
java.util.logging.Formatter
org.jcoderz.commons.LogFormatter
public class LogFormatter
- extends Formatter
This type implements a Formatter to be used for logging in a format, which
allows filtering of log files with standard tools and little effort. It
formats both standard a LogRecord and instances of
Loggable.
|
Field Summary |
static String |
MSG_LOGGER_STACK_TRACE
Name of the logger that controls which log level is needed as minimum
to trigger stack traces with log messages. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MSG_LOGGER_STACK_TRACE
public static final String MSG_LOGGER_STACK_TRACE
- Name of the logger that controls which log level is needed as minimum
to trigger stack traces with log messages.
- See Also:
- Constant Field Values
LogFormatter
public LogFormatter()
format
public String format(LogRecord record)
-
- Specified by:
format in class Formatter
Copyright 2007 The jCoderZ Project.