Class LowerLookup
- java.lang.Object
-
- org.apache.logging.log4j.core.lookup.AbstractLookup
-
- org.apache.logging.log4j.core.lookup.LowerLookup
-
- All Implemented Interfaces:
StrLookup
@Plugin(name="lower", category="Lookup") public class LowerLookup extends AbstractLookup
Converts values to lower case. The passed in "key" should be the value of another lookup.
-
-
Constructor Summary
Constructors Constructor Description LowerLookup()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Stringlookup(LogEvent ignored, java.lang.String key)Converts the "key" to lower case.-
Methods inherited from class org.apache.logging.log4j.core.lookup.AbstractLookup
evaluate, lookup
-
-
-
-
Method Detail
-
lookup
public java.lang.String lookup(LogEvent ignored, java.lang.String key)
Converts the "key" to lower case.- Parameters:
key- the key to be looked up, may be nullignored- The current LogEvent.- Returns:
- The value associated with the key.
-
-