org.openuat.log
Class Log4jFactory

java.lang.Object
  extended by org.openuat.log.LogFactory
      extended by org.openuat.log.Log4jFactory

public class Log4jFactory
extends LogFactory

This is a LogFactory that is able to create log4j loggers.
For a usage example, see LogFactory.

Version:
1.0
Author:
Lukas Huser

Constructor Summary
Log4jFactory()
          Creates a new factory instance.
 
Method Summary
protected  Log newLogger(java.lang.String name)
          Creates a new wrapper around a logger from the underlying logging framework.
 
Methods inherited from class org.openuat.log.LogFactory
getLogger, init
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jFactory

public Log4jFactory()
Creates a new factory instance.

Method Detail

newLogger

protected Log newLogger(java.lang.String name)
Description copied from class: LogFactory
Creates a new wrapper around a logger from the underlying logging framework.

Specified by:
newLogger in class LogFactory
Parameters:
name - The name of the new logger.
Returns:
The


2005-2009, Rene Mayrhofer.