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 | Description |
---|---|---|
AbstractScript |
ScriptAppenderSelector.Builder.getScript() |
Modifier and Type | Method | Description |
---|---|---|
ScriptAppenderSelector.Builder |
ScriptAppenderSelector.Builder.withScript(AbstractScript script) |
Modifier and Type | Method | Description |
---|---|---|
static ScriptCondition |
ScriptCondition.createCondition(AbstractScript script,
Configuration configuration) |
Creates the ScriptCondition.
|
Constructor | Description |
---|---|
ScriptCondition(AbstractScript script,
Configuration configuration) |
Constructs a new ScriptCondition.
|
Modifier and Type | Method | Description |
---|---|---|
AbstractScript |
RoutingAppender.Builder.getDefaultRouteScript() |
|
AbstractScript |
RoutingAppender.getDefaultRouteScript() |
|
AbstractScript |
Routes.Builder.getPatternScript() |
|
AbstractScript |
Routes.getPatternScript() |
Gets the optional script that decides which route to pick.
|
Modifier and Type | Method | Description |
---|---|---|
B |
RoutingAppender.Builder.withDefaultRouteScript(AbstractScript defaultRouteScript) |
|
Routes.Builder |
Routes.Builder.withPatternScript(AbstractScript patternScript) |
Modifier and Type | Method | Description |
---|---|---|
static AbstractScript[] |
ScriptsPlugin.createScripts(AbstractScript[] scripts) |
Return the array of scripts
|
Modifier and Type | Method | Description |
---|---|---|
static AbstractScript[] |
ScriptsPlugin.createScripts(AbstractScript[] scripts) |
Return the array of scripts
|
Modifier and Type | Method | Description |
---|---|---|
static ScriptFilter |
ScriptFilter.createFilter(AbstractScript script,
Filter.Result match,
Filter.Result mismatch,
Configuration configuration) |
Creates the ScriptFilter.
|
Modifier and Type | Method | 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 | Description |
---|---|
ScriptPatternSelector(AbstractScript script,
PatternMatch[] properties,
String defaultPattern,
boolean alwaysWriteExceptions,
boolean disableAnsi,
boolean noConsoleNoAnsi,
Configuration config) |
Deprecated.
Use
ScriptPatternSelector.newBuilder() instead. |
Modifier and Type | Class | 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 | Description |
---|---|---|
AbstractScript |
ScriptManager.getScript(String name) |
Modifier and Type | Method | Description |
---|---|---|
void |
ScriptManager.addScript(AbstractScript script) |
|
Bindings |
ScriptManager.createBindings(AbstractScript script) |
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.