Class AppenderRef
java.lang.Object
org.apache.logging.log4j.core.config.AppenderRef
@Plugin(name="AppenderRef",
category="Core",
printObject=true)
@PluginAliases("appender-ref")
public final class AppenderRef
extends Object
An Appender reference.
-
Method Summary
-
Method Details
-
getRef
-
getLevel
-
getFilter
-
toString
-
createAppenderRef
@PluginFactory public static AppenderRef createAppenderRef(@PluginAttribute("ref") String ref, @PluginAttribute("level") Level level, @PluginElement("Filter") Filter filter) Create an Appender reference.- Parameters:
ref
- The name of the Appender.level
- The Level to filter against.filter
- The filter(s) to use.- Returns:
- The name of the Appender.
-