Package | Description |
---|---|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
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.builder.impl |
Configuration Builder Implementation.
|
org.apache.logging.log4j.core.config.composite |
Support for composite configurations.
|
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 | Description |
---|---|---|
Node |
AppenderSet.Builder.getNode() |
Modifier and Type | Method | Description |
---|---|---|
AppenderSet.Builder |
AppenderSet.Builder.withNode(Node node) |
Modifier and Type | Method | Description |
---|---|---|
Node |
Route.getNode() |
Returns the Dynamic Appender Node.
|
Modifier and Type | Method | Description |
---|---|---|
static Route |
Route.createRoute(String appenderRef,
String key,
Node node) |
Create the Route.
|
Modifier and Type | Field | Description |
---|---|---|
protected Node |
AbstractConfiguration.rootNode |
The root node of the configuration.
|
Modifier and Type | Method | Description |
---|---|---|
Node |
Node.getParent() |
|
Node |
AbstractConfiguration.getRootNode() |
Modifier and Type | Method | Description |
---|---|---|
List<Node> |
Node.getChildren() |
Modifier and Type | Method | Description |
---|---|---|
void |
AbstractConfiguration.createConfiguration(Node node,
LogEvent event) |
|
void |
Configuration.createConfiguration(Node node,
LogEvent event) |
|
protected void |
AbstractConfiguration.preConfigure(Node node) |
Constructor | 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 | Description |
---|---|---|
protected Node |
BuiltConfiguration.convertToNode(Node parent,
Component component) |
Modifier and Type | Method | Description |
---|---|---|
protected Node |
BuiltConfiguration.convertToNode(Node parent,
Component component) |
Modifier and Type | Method | Description |
---|---|---|
void |
DefaultMergeStrategy.mergConfigurations(Node target,
Node source,
PluginManager pluginManager) |
Merge the source Configuration into the target Configuration.
|
void |
MergeStrategy.mergConfigurations(Node target,
Node source,
PluginManager pluginManager) |
Merge the soure node tree into the target node tree.
|
void |
DefaultMergeStrategy.mergeRootProperties(Node rootNode,
AbstractConfiguration configuration) |
Merge the root properties.
|
void |
MergeStrategy.mergeRootProperties(Node rootNode,
AbstractConfiguration configuration) |
Merge the root node properties into the configuration.
|
Modifier and Type | Method | Description |
---|---|---|
PluginBuilder |
PluginBuilder.withConfigurationNode(Node node) |
Specifies the Node corresponding to the plugin object that will be created.
|
Modifier and Type | Method | Description |
---|---|---|
Object |
PluginAttributeVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log) |
|
Object |
PluginBuilderAttributeVisitor.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 |
PluginNodeVisitor.visit(Configuration configuration,
Node node,
LogEvent event,
StringBuilder log) |
|
Object |
PluginValueVisitor.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.
|
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.