class Log4JFilter extends AbstractFilter {

    @Override
    public Result filter(LogEvent event) {
        Message candidate = null;
        if(event != null) {
            candidate = event.getMessage();
        }
        return validateMessage(candidate);
    }

}