Class FailoversPlugin

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

@Plugin(name="failovers", category="Core") public final class FailoversPlugin extends Object
The array of failover Appenders.
  • Field Details

    • LOGGER

      private static final Logger LOGGER
  • Constructor Details

    • FailoversPlugin

      private FailoversPlugin()
      Prevent instantiation.
  • Method Details

    • createFailovers

      @PluginFactory public static String[] createFailovers(@PluginElement("AppenderRef") AppenderRef... refs)
      Returns the appender references.
      Parameters:
      refs - The references to return.
      Returns:
      The appender references.