Class ThreadNameBasedDiscriminator

  • All Implemented Interfaces:
    ch.qos.logback.core.sift.Discriminator<ch.qos.logback.classic.spi.ILoggingEvent>, ch.qos.logback.core.spi.LifeCycle

    public class ThreadNameBasedDiscriminator
    extends Object
    implements ch.qos.logback.core.sift.Discriminator<ch.qos.logback.classic.spi.ILoggingEvent>
    • Constructor Detail

      • ThreadNameBasedDiscriminator

        public ThreadNameBasedDiscriminator()
    • Method Detail

      • getDiscriminatingValue

        public String getDiscriminatingValue​(ch.qos.logback.classic.spi.ILoggingEvent iLoggingEvent)
        Specified by:
        getDiscriminatingValue in interface ch.qos.logback.core.sift.Discriminator<ch.qos.logback.classic.spi.ILoggingEvent>
      • getKey

        public String getKey()
        Specified by:
        getKey in interface ch.qos.logback.core.sift.Discriminator<ch.qos.logback.classic.spi.ILoggingEvent>
      • 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