@Plugin(name="AppenderRef", category="Core", printObject=true) @PluginAliases(value="appender-ref") public final class AppenderRef extends Object
Modifier and Type | Method and Description |
---|---|
static AppenderRef |
createAppenderRef(String ref,
org.apache.logging.log4j.Level level,
Filter filter)
Create an Appender reference.
|
Filter |
getFilter() |
org.apache.logging.log4j.Level |
getLevel() |
String |
getRef() |
String |
toString() |
public org.apache.logging.log4j.Level getLevel()
@PluginFactory public static AppenderRef createAppenderRef(@PluginAttribute(value="ref") String ref, @PluginAttribute(value="level") org.apache.logging.log4j.Level level, @PluginElement(value="Filter") Filter filter)
ref
- The name of the Appender.level
- The Level to filter against.filter
- The filter(s) to use.Copyright © 1999-2021 The 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.