Package ch.qos.logback.core.sift
Interface Discriminator<E>
- 
- Type Parameters:
 E-
- All Superinterfaces:
 LifeCycle
- All Known Implementing Classes:
 AbstractDiscriminator,ContextBasedDiscriminator,DefaultDiscriminator,JNDIBasedContextDiscriminator,MDCBasedDiscriminator
@Deprecated(since="2022-01-27") public interface Discriminator<E> extends LifeCycle
Deprecated.This internal logback API is not supported by AEM as a Cloud Service.Implement this interface in order to compute a discriminating value for a given event of type <E>.The returned value can depend on any data available at the time of the call, including data contained within the currently running thread.
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.StringgetDiscriminatingValue(E e)Deprecated.Given event 'e' return a discriminating value.java.lang.StringgetKey()Deprecated.The key or variable name under which the discriminating value should be exported into the host environment. 
 - 
 
- 
- 
Method Detail
- 
getDiscriminatingValue
java.lang.String getDiscriminatingValue(E e)
Deprecated.Given event 'e' return a discriminating value.- Parameters:
 e-- Returns:
 
 
- 
getKey
java.lang.String getKey()
Deprecated.The key or variable name under which the discriminating value should be exported into the host environment.- Returns:
 
 
 - 
 
 -