private static boolean shouldPrint(EIError.ErrorLevel level) {
        boolean ret = false;
        if (errorFilterLevel == EIError.ErrorLevel.Notice
                || (errorFilterLevel == EIError.ErrorLevel.Warning && level != EIError.ErrorLevel.Notice)
                || (errorFilterLevel == EIError.ErrorLevel.Error && level == EIError.ErrorLevel.Error)) {
            ret = true;
        }
        return ret;
    }