JTools

org.jtools.logging.log4j
Class Log4JLogFactory

java.lang.Object
  extended by org.jtools.logging.AbstractLogFactory
      extended by org.jtools.logging.log4j.Log4JLogFactory
All Implemented Interfaces:
org.jpattern.logging.LogFactory

public class Log4JLogFactory
extends AbstractLogFactory


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.jpattern.logging.LogFactory
org.jpattern.logging.LogFactory.Support
 
Constructor Summary
Log4JLogFactory(org.jpattern.mapper.Mapper<org.apache.log4j.Level,org.jpattern.logging.Level> levelMapper)
           
 
Method Summary
protected  org.jpattern.logging.Logger newLogger(String name)
           
protected  org.jpattern.logging.Logger newRootLogger()
           
 
Methods inherited from class org.jtools.logging.AbstractLogFactory
getLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Log4JLogFactory

public Log4JLogFactory(org.jpattern.mapper.Mapper<org.apache.log4j.Level,org.jpattern.logging.Level> levelMapper)
Method Detail

newLogger

protected org.jpattern.logging.Logger newLogger(String name)
Specified by:
newLogger in class AbstractLogFactory

newRootLogger

protected org.jpattern.logging.Logger newRootLogger()
Specified by:
newRootLogger in class AbstractLogFactory

JTools

© 2000-2006, JTools.org.