edu.wisc.trace.urcsdk.support
Class LoggerUtil

java.lang.Object
  extended by edu.wisc.trace.urcsdk.support.LoggerUtil

public final class LoggerUtil
extends java.lang.Object

Creates a project-wide logger with handlers and formatters more conducive to the URC approach.

Created on: Feb 14, 2005
Known bugs:


Thread safe: Yes

Version:
$Revision: 1.21 $
Author:
Andrew Martin, Trace R&D Center

Nested Class Summary
static class LoggerUtil.SdkFormatter
          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.
static class LoggerUtil.SdkHandler
          Very simple handler that outputs all logged messages to stdout.
 
Method Summary
static java.util.logging.Logger getSdkLogger()
          Returns the singleton instance of the SDK logger.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSdkLogger

public static java.util.logging.Logger getSdkLogger()
Returns the singleton instance of the SDK logger.

Returns:
a Logger object


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