Class DenyAllFilter


  • public class DenyAllFilter
    extends Filter
    Denies all logging events.

    You can add this filter to the end of a filter chain to switch from the default "accept all unless instructed otherwise" filtering behavior to a "deny all unless instructed otherwise" behavior.

    Since:
    0.9.0
    • Constructor Detail

      • DenyAllFilter

        public DenyAllFilter()
    • Method Detail

      • getOptionStrings

        @Deprecated
        public String[] getOptionStrings()
        Deprecated.
        We now use JavaBeans introspection to configure components. Options strings are no longer needed.
        Returns null as there are no options.
      • setOption

        @Deprecated
        public void setOption​(String key,
                              String value)
        Deprecated.
        Use the setter method for the option directly instead of the generic setOption method.
        No options to set.