Class 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 Detail

      • LowerLookup

        public LowerLookup()
    • Method Detail

      • lookup

        public String lookup​(LogEvent ignored,
                             String key)
        Converts the "key" to lower case.
        Parameters:
        key - the key to be looked up, may be null
        ignored - The current LogEvent.
        Returns:
        The value associated with the key.