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(LoggerContext context, String name)
           
 

Method Detail

makeNewLoggerInstance

Logger makeNewLoggerInstance(LoggerContext context,
                             String name)


Copyright © 1999-2012 Apache Software Foundation. All Rights Reserved.