DJDoc v.1.0.0b-1

net.sf.djdoc.util
Class Logging

java.lang.Object
  extended by net.sf.djdoc.util.Logging

public class Logging
extends java.lang.Object

The Logging class is a utility class wrapping the access to the Apache Log4J logging library.


Method Summary
static org.apache.log4j.Logger getLogger()
          This method returns a Log4J Logger with a name equal to the class from which this method is invoked.
static void setup(java.util.Properties props)
          This method initializes the Log4J logging engine with specified properties.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setup

public static void setup(java.util.Properties props)
This method initializes the Log4J logging engine with specified properties.

Parameters:
props - The set of properties to initialize Log4J with

getLogger

public static org.apache.log4j.Logger getLogger()
This method returns a Log4J Logger with a name equal to the class from which this method is invoked.

Returns:
A Log4J Logger with the name of the invoking class

DJDoc v.1.0.0b-1