Class OnMarkerEvaluator

All Implemented Interfaces:
EventEvaluator<ILoggingEvent>, ContextAware, LifeCycle

@Deprecated(since="2022-01-27") public class OnMarkerEvaluator extends EventEvaluatorBase<ILoggingEvent>
Deprecated.
This internal logback API is not supported by AEM as a Cloud Service.
Evaluates to true when the logging event passed as parameter contains one of the user-specified markers.
  • Constructor Details

    • OnMarkerEvaluator

      public OnMarkerEvaluator()
      Deprecated.
  • Method Details

    • addMarker

      public void addMarker(String markerStr)
      Deprecated.
    • evaluate

      public boolean evaluate(ILoggingEvent event) throws NullPointerException, EvaluationException
      Deprecated.
      Return true if event passed as parameter contains one of the specified user-markers.
      Parameters:
      event - The event to evaluate
      Returns:
      true if there is a match, false otherwise.
      Throws:
      NullPointerException - can be thrown in presence of null values
      EvaluationException - may be thrown during faulty evaluation