public boolean shouldSkipClass(Class<?> clazz) {
if (clazz.isArray() || !Command.class.isAssignableFrom(clazz)) {
return false;
}
Log4jLevel log4jLevel = null;
LogLevel level = clazz.getAnnotation(LogLevel.class);
if (level == null) {
log4jLevel = LogLevel.Log4jLevel.Debug;
} else {
log4jLevel = level.value();
}
return !log4jLevel.enabled(_logger);
}