edu.wisc.trace.urcsdk.support
Class LoggerUtil.SdkFormatter

java.lang.Object
  extended by java.util.logging.Formatter
      extended by edu.wisc.trace.urcsdk.support.LoggerUtil.SdkFormatter
Enclosing class:
LoggerUtil

public static class LoggerUtil.SdkFormatter
extends java.util.logging.Formatter

Formats logger output to provide the originating method and line number in addition to the package on one line, and the logged message on the next. For example:

edu.wisc.trace.urcsdk.target.TargetDirectory.parse (Line: 85)
INFO: TD parsing completed successfully.

Created on: Apr 27, 2005
Known bugs: None
Thread safe: Yes

Author:
Andrew Martin, Trace R&D Center

Constructor Summary
LoggerUtil.SdkFormatter()
           
 
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

LoggerUtil.SdkFormatter

public LoggerUtil.SdkFormatter()
Method Detail

format

public java.lang.String format(java.util.logging.LogRecord record)
Specified by:
format in class java.util.logging.Formatter


Copyright © 2006 Trace R&D Center, University of Wisconsin-Madison. All Rights Reserved.