Class DockerLookup

  • All Implemented Interfaces:
    org.apache.logging.log4j.core.lookup.StrLookup

    @Plugin(name="docker",
            category="Lookup")
    public class DockerLookup
    extends org.apache.logging.log4j.core.lookup.AbstractLookup
    Lookups up keys for for a Docker container.
    • Constructor Detail

      • DockerLookup

        public DockerLookup()
        Constructs a new instance.
    • Method Detail

      • lookup

        public String lookup​(org.apache.logging.log4j.core.LogEvent event,
                             String key)