diff --git a/src/main/java/groovy/util/logging/Slf4j.java b/src/main/java/groovy/util/logging/Slf4j.java index 06ee0cf7cc8..8920903ac3a 100644 --- a/src/main/java/groovy/util/logging/Slf4j.java +++ b/src/main/java/groovy/util/logging/Slf4j.java @@ -50,7 +50,7 @@ * log.name(exp) * is mapped to *
- * if (log.isNameLoggable() { + * if (log.isNameEnabled() { * log.name(exp) * }* Here name is a placeholder for info, debug, warning, error, etc.