Log4j 1.3alpha-6

org.apache.ugli.impl
Class Log4jLoggerFA

java.lang.Object
  |
  +--org.apache.ugli.impl.Log4jLoggerFA
All Implemented Interfaces:
LoggerFactoryAdapter

public class Log4jLoggerFA
extends java.lang.Object
implements LoggerFactoryAdapter

This factory adapter relies on log4's LogManager to do its job.

Author:
Ceki Gülcü

Constructor Summary
Log4jLoggerFA()
           
 
Method Summary
 ULogger getLogger(java.lang.String name)
          Get a ULogger by name, by delegating all work to log4's LogManager.
 ULogger getLogger(java.lang.String domainName, java.lang.String subDomainName)
          Get a ULogger by domain and subdomain name, by delegating all work to log4's LogManager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4jLoggerFA

public Log4jLoggerFA()
Method Detail

getLogger

public ULogger getLogger(java.lang.String name)
Get a ULogger by name, by delegating all work to log4's LogManager.

The implementation is trivial because log4j loggers directly implement the ULogger interface.

Specified by:
getLogger in interface LoggerFactoryAdapter

getLogger

public ULogger getLogger(java.lang.String domainName,
                         java.lang.String subDomainName)
Get a ULogger by domain and subdomain name, by delegating all work to log4's LogManager.

The implementation is trivial because log4j loggers directly implement the ULogger interface.

Specified by:
getLogger in interface LoggerFactoryAdapter
Parameters:
domainName -
subDomainName -
Returns:
ULogger instance

Log4j 1.3alpha-6

Copyright 2000-2005 Apache Software Foundation.