|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.logging.Formatter
com.sun.tdk.signaturetest.util.LogFormatter
public class LogFormatter
This is formatter for java.util.logging's ConsoleHandler prints file name and line number where log occuresd Can be turned on in different ways, for example via property file: -Djava.util.logging.config.file=/home/ersh/wrk/st/trunk_prj/logging.properties where logging.properties contains -------------------------------- handlers= java.util.logging.ConsoleHandler java.util.logging.ConsoleHandler.formatter = com.sun.tdk.signaturetest.util.LogFormatter --------------------------------
Constructor Summary | |
---|---|
LogFormatter()
|
Method Summary | |
---|---|
java.lang.String |
format(java.util.logging.LogRecord record)
|
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 LogFormatter()
Method Detail |
---|
public java.lang.String format(java.util.logging.LogRecord record)
format
in class java.util.logging.Formatter
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |