Interface LoggerFactory

public interface LoggerFactory

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

See examples/subclass/ for an example.

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

Method Detail


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

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