ch.qos.logback.core.sift
Class DefaultDiscriminator<E>
java.lang.Object
ch.qos.logback.core.sift.DefaultDiscriminator<E>
- All Implemented Interfaces:
- Discriminator<E>, LifeCycle
public class DefaultDiscriminator<E>
- extends Object
- implements Discriminator<E>
- Author:
- Ceki Gücü
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT
public static final String DEFAULT
- See Also:
- Constant Field Values
DefaultDiscriminator
public DefaultDiscriminator()
getDiscriminatingValue
public String getDiscriminatingValue(E e)
- Description copied from interface:
Discriminator
- Given event 'e' return a discriminating value.
- Specified by:
getDiscriminatingValue
in interface Discriminator<E>
- Returns:
getKey
public String getKey()
- Description copied from interface:
Discriminator
- The key or variable name under which the discriminating value should be
exported into the host environment.
- Specified by:
getKey
in interface Discriminator<E>
- Returns:
start
public void start()
- Specified by:
start
in interface LifeCycle
stop
public void stop()
- Specified by:
stop
in interface LifeCycle
isStarted
public boolean isStarted()
- Specified by:
isStarted
in interface LifeCycle
Copyright © 2005-2013 QOS.ch. All Rights Reserved.