java.util.logging.Logger does not have an error method.

This commit is contained in:
Joachim Vandersmissen
2018-08-08 16:43:09 +02:00
committed by Roel Spilker
parent c21adf7f47
commit 2b0cd53d55
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ public class LogExample {
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LogExample.class.getName());
public static void main(String... args) {
log.error("Something's wrong here");
log.severe("Something's wrong here");
}
}
+1 -1
View File
@@ -5,7 +5,7 @@ import lombok.extern.slf4j.Slf4j;
public class LogExample {
public static void main(String... args) {
log.error("Something's wrong here");
log.severe("Something's wrong here");
}
}