net.sf.genuine.logging
Class Logging

java.lang.Object
  extended bynet.sf.genuine.logging.Logging

public class Logging
extends java.lang.Object

Helper class for logging. Initializes the JDK 1.4 logger objects to write their output in a more readable format and returns a customized logger object for each package.

Author:
Tim Wellhausen

Constructor Summary
Logging()
           
 
Method Summary
static java.util.logging.Logger getLogger(java.lang.Object object)
          Returns a logger object that is initialized with the package name of the calling object's class.
static java.util.logging.Logger getStaticLogger()
          Returns a logger object that should only be used inside static content where there is no referring object available, as the returned logger object is initialized with the logger's package.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Logging

public Logging()
Method Detail

getStaticLogger

public static java.util.logging.Logger getStaticLogger()
Returns a logger object that should only be used inside static content where there is no referring object available, as the returned logger object is initialized with the logger's package.


getLogger

public static java.util.logging.Logger getLogger(java.lang.Object object)
Returns a logger object that is initialized with the package name of the calling object's class.