Class DefaultDiscriminator<E>
java.lang.Object
ch.qos.logback.core.spi.ContextAwareBase
ch.qos.logback.core.sift.AbstractDiscriminator<E>
ch.qos.logback.core.sift.DefaultDiscriminator<E>
- All Implemented Interfaces:
Discriminator<E>, ContextAware, LifeCycle
- Author:
- Ceki Gülcü
-
Field Summary
FieldsFields inherited from class AbstractDiscriminator
startedFields inherited from class ContextAwareBase
context -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGiven event 'e' return a discriminating value.getKey()The key or variable name under which the discriminating value should be exported into the host environment.Methods inherited from class AbstractDiscriminator
isStarted, start, stopMethods inherited from class ContextAwareBase
addError, addError, addInfo, addInfo, addStatus, addWarn, addWarn, getContext, getDeclaredOrigin, getStatusManager, setContext
-
Field Details
-
DEFAULT
-
-
Constructor Details
-
DefaultDiscriminator
public DefaultDiscriminator()
-
-
Method Details
-
getDiscriminatingValue
Description copied from interface:DiscriminatorGiven event 'e' return a discriminating value.- Parameters:
e-- Returns:
-
getKey
Description copied from interface:DiscriminatorThe key or variable name under which the discriminating value should be exported into the host environment.- Returns:
-