org.apache.log4j.spi
Interface LoggerFactory


public interface LoggerFactory

Implement this interface to create new instances of Logger or a sub-class of Logger.

See examples/subclass/MyLogger.java for an example.


Method Summary
 Logger makeNewLoggerInstance(org.apache.logging.log4j.core.LoggerContext context, String name)
           
 

Method Detail

makeNewLoggerInstance

Logger makeNewLoggerInstance(org.apache.logging.log4j.core.LoggerContext context,
                             String name)


Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved. Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, and the Apache Logging project logo are trademarks of The Apache Software Foundation.