String key = className + '#' + method.getName();
Level level = this.levels.get(key);
// if not specified the in config properties, look for an annotation on the method
if (level == null) {
LogLevel annotation = method.getAnnotation(LogLevel.class);
if (annotation != null && annotation.value() != null) {
try {
level = Level.parse(annotation.value());
} catch (IllegalArgumentException e) {
// bad value, just use the default
level = defaultLevel;
}
}