Package | Description |
---|---|
org.apache.logging.log4j.core.lookup |
Log4j 2 Lookups.
|
Modifier and Type | Method and Description |
---|---|
default LookupResult |
StrLookup.evaluate(LogEvent event,
String key)
Same as
StrLookup.lookup(LogEvent, String) , but provides additional metadata describing the result. |
LookupResult |
PropertiesLookup.evaluate(LogEvent event,
String key) |
LookupResult |
Interpolator.evaluate(LogEvent event,
String var)
Resolves the specified variable.
|
LookupResult |
AbstractLookup.evaluate(String key)
Calls
evaluate(null, key) in the implementation. |
default LookupResult |
StrLookup.evaluate(String key)
Same as
StrLookup.lookup(String) , but provides additional metadata describing the result. |
LookupResult |
PropertiesLookup.evaluate(String key) |
protected LookupResult |
StrSubstitutor.resolveVariable(LogEvent event,
String variableName,
StringBuilder buf,
int startPos,
int endPos)
Internal method that resolves the value of a variable.
|
Copyright © 1999-2023 The 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.