From a4809f10c48a0007ffc911173382c25087e40a50 Mon Sep 17 00:00:00 2001 From: Christoph Frick Date: Fri, 16 Feb 2024 13:55:26 +0100 Subject: [PATCH] Fix wrong method name for generated code in Slf4j --- src/main/java/groovy/util/logging/Slf4j.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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.