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

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

@Plugin(name="appenders",
        category="Core")
public final class AppendersPlugin
extends Object

An Appender container.


Method Summary
static ConcurrentMap<String,Appender> createAppenders(Appender[] appenders)
          Create a Map of the Appenders.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createAppenders

@PluginFactory
public static ConcurrentMap<String,Appender> createAppenders(@PluginElement(value="Appenders")
                                                                           Appender[] appenders)
Create a Map of the Appenders.

Parameters:
appenders - An array of Appenders.
Returns:
The Appender Map.


Copyright © 1999-2014 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.