public abstract class AbstractLookup extends Object implements StrLookup
Constructor and Description |
---|
AbstractLookup() |
Modifier and Type | Method and Description |
---|---|
LookupResult |
evaluate(String key)
Calls
evaluate(null, key) in the implementation. |
String |
lookup(String key)
Calls
lookup(null, key) in the implementation. |
public String lookup(String key)
lookup(null, key)
in the implementation.lookup
in interface StrLookup
key
- the key to be looked up, may be nullStrLookup.lookup(LogEvent, String)
public LookupResult evaluate(String key)
evaluate(null, key)
in the implementation.evaluate
in interface StrLookup
StrLookup.evaluate(LogEvent, String)
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.