mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-15 22:15:11 +00:00
java.util.logging.Logger does not have an error method.
This commit is contained in:
1 parent
c21adf7f47
commit
2b0cd53d55
2 files changed
+2
-2
No files matched your search
@@ -2,7 +2,7 @@ public class LogExample {
|
|||||||
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LogExample.class.getName());
|
private static final java.util.logging.Logger log = java.util.logging.Logger.getLogger(LogExample.class.getName());
|
||||||
|
|
||||||
public static void main(String... args) {
|
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 class LogExample {
|
||||||
|
|
||||||
public static void main(String... args) {
|
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