|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.util.logging.Formatter
jpl.mipl.pgs.utils.logging.LogMessageFormatter
LoggerFactory instead.
public class LogMessageFormatter
This class is utilized by the logger for formatting log messages. @see java.util.logging for more details.
Copyright 2002, California Institute of Technology.
ALL RIGHTS RESERVED.
U.S. Government Sponsorship acknowledge.2004.
| Constructor Summary | |
|---|---|
LogMessageFormatter()
Deprecated. Sets the maximum log line size to be 80. |
|
LogMessageFormatter(int maxMsgSize)
Deprecated. Constructor |
|
| Method Summary | |
|---|---|
String |
format(LogRecord record)
Deprecated. Formates the message by prepending the message with a date stamp and enclosing the message into level label (eg. |
| Methods inherited from class java.util.logging.Formatter |
|---|
formatMessage, getHead, getTail |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LogMessageFormatter()
throws IllegalArgumentException
IllegalArgumentException
public LogMessageFormatter(int maxMsgSize)
throws IllegalArgumentException
maxMsgSize - Sets the maximum log line size to be maxMsgSize.
A message with length greater than 80 will be
divided into several lines.
IllegalArgumentException| Method Detail |
|---|
public String format(LogRecord record)
format in class Formatter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||