Class ContextBasedDiscriminator

    • Constructor Detail

      • ContextBasedDiscriminator

        public ContextBasedDiscriminator()
        Deprecated.
    • Method Detail

      • getDiscriminatingValue

        public String getDiscriminatingValue​(ILoggingEvent event)
        Deprecated.
        Return the name of the current context name as found in the logging event.
        Returns:
      • getKey

        public String getKey()
        Deprecated.
        Description copied from interface: Discriminator
        The key or variable name under which the discriminating value should be exported into the host environment.
        Returns:
      • setKey

        public void setKey​(String key)
        Deprecated.
      • setDefaultValue

        public void setDefaultValue​(String defaultValue)
        Deprecated.
        The default context name in case the context name is not set for the current logging event.
        Parameters:
        defaultValue -