| java.lang.Object java.util.logging.Formatter com.finalist.util.log.LogFormatter
LogFormatter | final public class LogFormatter extends Formatter (Code) | | A class wich specifies the format for the log messages
author: Ronald Kramp - Finalist IT Group version: $Revision: 1.1 $, $Date: 2004/11/12 14:06:44 $ |
LogFormatter | public LogFormatter(int showNumberOfLastPackages, String datePattern, String messageSeparator)(Code) | | Constrcutor for making a LogFormatter
Parameters: showNumberOfLastPackages - the number of packages to log Parameters: datePattern - the pattern of the date to log Parameters: messageSeparator - the message separator |
format | public String format(LogRecord rec)(Code) | | Formatting a logrecord to a single line.
sequence of the logline: Logevel date Classname separator message exception
Parameters: rec - the log record to format String the line to log |
|
|