mirror of
https://github.com/tiennm99/lombok.git
synced 2026-05-26 04:01:17 +00:00
java.util.logging.Logger does not have an error method.
This commit is contained in:
committed by
Roel Spilker
parent
c21adf7f47
commit
2b0cd53d55
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user