org.apache.logging.log4j.core.appender
Class FailoversPlugin

java.lang.Object
  extended by org.apache.logging.log4j.core.appender.FailoversPlugin

@Plugin(name="failovers",
        category="Core")
public final class FailoversPlugin
extends Object

The array of failover Appenders.


Method Summary
static String[] createFailovers(AppenderRef... refs)
          Returns the appender references.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createFailovers

@PluginFactory
public static String[] createFailovers(@PluginElement(value="AppenderRef")
                                                     AppenderRef... refs)
Returns the appender references.

Parameters:
refs - The references to return.
Returns:
The appender references.


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.