Class AbstractLookup
- java.lang.Object
-
- org.apache.logging.log4j.core.lookup.AbstractLookup
-
- All Implemented Interfaces:
StrLookup
- Direct Known Subclasses:
AbstractConfigurationAwareLookup
,DockerLookup
,EnvironmentLookup
,JavaLookup
,JndiLookup
,MarkerLookup
,ResourceBundleLookup
,SystemPropertiesLookup
public abstract class AbstractLookup extends Object implements StrLookup
A default lookup for others to extend.- Since:
- 2.1
-
-
Constructor Summary
Constructors Constructor Description AbstractLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
lookup(String key)
Callslookup(null, key)
in the super class.
-
-
-
Method Detail
-
lookup
public String lookup(String key)
Callslookup(null, key)
in the super class.- Specified by:
lookup
in interfaceStrLookup
- Parameters:
key
- the key to be looked up, may be null- Returns:
- the matching value, null if no match
- See Also:
StrLookup.lookup(LogEvent, String)
-
-