org.apache.logging.log4j.core.config
Class LoggersPlugin

java.lang.Object
  extended by org.apache.logging.log4j.core.config.LoggersPlugin

@Plugin(name="loggers",
        category="Core")
public final class LoggersPlugin
extends Object

Container of Logger objects.


Method Summary
static Loggers createLoggers(LoggerConfig[] loggers)
          Create a Loggers object to contain all the Loggers.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createLoggers

@PluginFactory
public static Loggers createLoggers(@PluginElement(value="Loggers")
                                                  LoggerConfig[] loggers)
Create a Loggers object to contain all the Loggers.

Parameters:
loggers - An array of Loggers.
Returns:
A Loggers object.


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.