Class ThreadNameBasedDiscriminator
- java.lang.Object
-
- dev.aherscu.qa.testing.utils.logging.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 Summary
Constructors Constructor Description ThreadNameBasedDiscriminator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getDiscriminatingValue(ch.qos.logback.classic.spi.ILoggingEvent iLoggingEvent)
String
getKey()
boolean
isStarted()
void
start()
void
stop()
-
-
-
Method Detail
-
getDiscriminatingValue
public String getDiscriminatingValue(ch.qos.logback.classic.spi.ILoggingEvent iLoggingEvent)
- Specified by:
getDiscriminatingValue
in interfacech.qos.logback.core.sift.Discriminator<ch.qos.logback.classic.spi.ILoggingEvent>
-
getKey
public String getKey()
- Specified by:
getKey
in interfacech.qos.logback.core.sift.Discriminator<ch.qos.logback.classic.spi.ILoggingEvent>
-
start
public void start()
- Specified by:
start
in interfacech.qos.logback.core.spi.LifeCycle
-
stop
public void stop()
- Specified by:
stop
in interfacech.qos.logback.core.spi.LifeCycle
-
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interfacech.qos.logback.core.spi.LifeCycle
-
-