Class ContextBasedDiscriminator

java.lang.Object
All Implemented Interfaces:
Discriminator<ILoggingEvent>, ContextAware, LifeCycle

This discriminator returns the value context to which this event is attached to. If the said value is null, then a default value is returned.

Both Key and the DefaultValue are user specified properties.

Author:
Ceki Gülcü