Package | Description |
---|---|
org.apache.logging.log4j.core.appender.routing |
Apache Flume Appender.
|
org.apache.logging.log4j.core.config |
Configuration of Log4j 2.
|
org.apache.logging.log4j.core.config.plugins.util |
Utility and manager classes for Log4j 2 plugins.
|
org.apache.logging.log4j.core.config.plugins.visitors |
Visitor classes for extracting values from a Configuration or Node corresponding to a plugin annotation.
|
Modifier and Type | Method and Description |
---|---|
Node |
Route.getNode()
Returns the Dynamic Appender Node.
|
Modifier and Type | Method and Description |
---|---|
static Route |
Route.createRoute(String appenderRef,
String key,
Node node)
Create the Route.
|
Modifier and Type | Field and Description |
---|---|
protected Node |
AbstractConfiguration.rootNode
The root node of the configuration.
|
Modifier and Type | Method and Description |
---|---|
Node |
Node.getParent() |
Modifier and Type | Method and Description |
---|---|
List<Node> |
Node.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractConfiguration.createConfiguration(Node node,
LogEvent event) |
void |
Configuration.createConfiguration(Node node,
LogEvent event) |
Constructor and Description |
---|
Node(Node node) |
Node(Node parent,
String name,
PluginType<?> type)
Creates a new instance of
Node and initializes it
with a name and the corresponding XML element. |
Modifier and Type | Method and Description |
---|---|
PluginBuilder |
PluginBuilder.withConfigurationNode(Node node)
Specifies the Node corresponding to the plugin object that will be created.
|
Modifier and Type | Method and Description |
---|---|
Object |
PluginNodeVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log) |
Object |
PluginAttributeVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log) |
Object |
PluginValueVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log) |
Object |
PluginConfigurationVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log) |
Object |
PluginElementVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log) |
Object |
PluginVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log)
Visits a Node to obtain a value for constructing a Plugin object.
|
Object |
PluginBuilderAttributeVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log) |
Copyright © 1999-2021 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.