public boolean evaluate ( ILoggingEvent event ) throws NullPointerException , EvaluationException { Marker eventsMarker = event . getMarker ( ) ; if ( eventsMarker == null ) { return false ; } for ( String markerStr : markerList ) { if ( eventsMarker . contains ( markerStr ) ) { return true ; } } return false ; }
Return true if event passed as parameter contains one of the specified user - markers .