Package | Description |
---|---|
org.apache.logging.log4j.core.appender |
Log4j 2 Appenders.
|
org.apache.logging.log4j.core.appender.rolling.action |
Support classes for the Rolling File Appender.
|
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.filter |
Log4j 2 Filter support.
|
org.apache.logging.log4j.core.layout |
Log4j 2 Layout support.
|
org.apache.logging.log4j.core.script |
Log4j 2 Script support.
|
Modifier and Type | Method and Description |
---|---|
AbstractScript |
ScriptAppenderSelector.Builder.getScript() |
Modifier and Type | Method and Description |
---|---|
ScriptAppenderSelector.Builder |
ScriptAppenderSelector.Builder.withScript(AbstractScript script) |
Modifier and Type | Method and Description |
---|---|
static ScriptCondition |
ScriptCondition.createCondition(AbstractScript script,
Configuration configuration)
Creates the ScriptCondition.
|
Constructor and Description |
---|
ScriptCondition(AbstractScript script,
Configuration configuration)
Constructs a new ScriptCondition.
|
Modifier and Type | Method and Description |
---|---|
AbstractScript |
RoutingAppender.getDefaultRouteScript() |
AbstractScript |
RoutingAppender.Builder.getDefaultRouteScript() |
AbstractScript |
Routes.getPatternScript()
Gets the optional script that decides which route to pick.
|
AbstractScript |
Routes.Builder.getPatternScript() |
Modifier and Type | Method and Description |
---|---|
B |
RoutingAppender.Builder.withDefaultRouteScript(AbstractScript defaultRouteScript) |
Routes.Builder |
Routes.Builder.withPatternScript(AbstractScript patternScript) |
Modifier and Type | Method and Description |
---|---|
static AbstractScript[] |
ScriptsPlugin.createScripts(AbstractScript[] scripts)
Return the array of scripts
|
Modifier and Type | Method and Description |
---|---|
static AbstractScript[] |
ScriptsPlugin.createScripts(AbstractScript[] scripts)
Return the array of scripts
|
Modifier and Type | Method and Description |
---|---|
static ScriptFilter |
ScriptFilter.createFilter(AbstractScript script,
Filter.Result match,
Filter.Result mismatch,
Configuration configuration)
Creates the ScriptFilter.
|
Modifier and Type | Method and Description |
---|---|
static ScriptPatternSelector |
ScriptPatternSelector.createSelector(AbstractScript script,
PatternMatch[] properties,
String defaultPattern,
boolean alwaysWriteExceptions,
boolean noConsoleNoAnsi,
Configuration configuration)
Deprecated.
Use
ScriptPatternSelector.newBuilder() instead. |
ScriptPatternSelector.Builder |
ScriptPatternSelector.Builder.setScript(AbstractScript script) |
Constructor and Description |
---|
ScriptPatternSelector(AbstractScript script,
PatternMatch[] properties,
String defaultPattern,
boolean alwaysWriteExceptions,
boolean disableAnsi,
boolean noConsoleNoAnsi,
Configuration config)
Deprecated.
Use
ScriptPatternSelector.newBuilder() instead. This will be private in a future version. |
Modifier and Type | Class and Description |
---|---|
class |
Script
Container for the language and body of a script.
|
class |
ScriptFile
Container for the language and body of a script file along with the file location.
|
class |
ScriptRef
Contains a reference to a script defined elsewhere in the configuration.
|
Modifier and Type | Method and Description |
---|---|
AbstractScript |
ScriptManager.getScript(String name) |
Modifier and Type | Method and Description |
---|---|
void |
ScriptManager.addScript(AbstractScript script) |
Bindings |
ScriptManager.createBindings(AbstractScript script) |
Copyright © 1999-2017. 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.