Class ApplicationInfoEnricher

  • All Implemented Interfaces:
    ch.qos.logback.classic.spi.LoggerContextListener, ch.qos.logback.core.spi.ContextAware, ch.qos.logback.core.spi.LifeCycle

    public class ApplicationInfoEnricher
    extends ch.qos.logback.core.spi.ContextAwareBase
    implements ch.qos.logback.classic.spi.LoggerContextListener, ch.qos.logback.core.spi.LifeCycle
    Enrich meta information about the application under test to the log file.
    • Constructor Detail

      • ApplicationInfoEnricher

        public ApplicationInfoEnricher()
    • Method Detail

      • start

        public void start()
        Specified by:
        start in interface ch.qos.logback.core.spi.LifeCycle
      • stop

        public void stop()
        Specified by:
        stop in interface ch.qos.logback.core.spi.LifeCycle
      • isStarted

        public boolean isStarted()
        Specified by:
        isStarted in interface ch.qos.logback.core.spi.LifeCycle
      • isResetResistant

        public boolean isResetResistant()
        Specified by:
        isResetResistant in interface ch.qos.logback.classic.spi.LoggerContextListener
      • onStart

        public void onStart​(ch.qos.logback.classic.LoggerContext context)
        Specified by:
        onStart in interface ch.qos.logback.classic.spi.LoggerContextListener
      • onReset

        public void onReset​(ch.qos.logback.classic.LoggerContext context)
        Specified by:
        onReset in interface ch.qos.logback.classic.spi.LoggerContextListener
      • onStop

        public void onStop​(ch.qos.logback.classic.LoggerContext context)
        Specified by:
        onStop in interface ch.qos.logback.classic.spi.LoggerContextListener
      • onLevelChange

        public void onLevelChange​(ch.qos.logback.classic.Logger logger,
                                  ch.qos.logback.classic.Level level)
        Specified by:
        onLevelChange in interface ch.qos.logback.classic.spi.LoggerContextListener