Class OnErrorEvaluator

    • Constructor Detail

      • OnErrorEvaluator

        public OnErrorEvaluator()
        Deprecated.
    • Method Detail

      • evaluate

        public boolean evaluate​(ILoggingEvent event)
                         throws java.lang.NullPointerException,
                                EvaluationException
        Deprecated.
        Return true if event passed as parameter has level ERROR or higher, returns false otherwise.
        Parameters:
        event - The event to evaluate
        Returns:
        true if there is a match, false otherwise.
        Throws:
        java.lang.NullPointerException - can be thrown in presence of null values
        EvaluationException - may be thrown during faulty evaluation