Top Description Methods
ch.qos.logback.core.sift

public Interface Discriminator<E>

extends LifeCycle
Known Direct Implementers
ch.qos.logback.core.sift.AbstractDiscriminator
Imports
ch.qos.logback.core.spi.LifeCycle

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.

Author
Ceki Gülcü

Method Summary

Modifier and TypeMethod and Description
public String
getDiscriminatingValue(E e)

Given event 'e' return a discriminating value.

public String
getKey()

The key or variable name under which the discriminating value should be exported into the host environment.

Inherited from ch.qos.logback.core.spi.LifeCycle:
isStartedstartstop

Method Detail

getDiscriminatingValueback to summary
public String getDiscriminatingValue(E e)

Given event 'e' return a discriminating value.

getKeyback to summary
public String getKey()

The key or variable name under which the discriminating value should be exported into the host environment.