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