aboutsummaryrefslogtreecommitdiff
path: root/website/usageExamples
diff options
context:
space:
mode:
authorJoachim Vandersmissen <joachim@vandersmissen.me>2018-08-08 16:43:09 +0200
committerRoel Spilker <r.spilker@gmail.com>2018-08-20 20:04:57 +0200
commit2b0cd53d55d882fbc49d5f736c845353098eb34e (patch)
tree898385763b4e4edfc24cf903959b521f3db478ca /website/usageExamples
parentc21adf7f47ed0077c53547a36041b1dba45bdcb8 (diff)
downloadlombok-2b0cd53d55d882fbc49d5f736c845353098eb34e.tar.gz
lombok-2b0cd53d55d882fbc49d5f736c845353098eb34e.tar.bz2
lombok-2b0cd53d55d882fbc49d5f736c845353098eb34e.zip
java.util.logging.Logger does not have an error method.
Diffstat (limited to 'website/usageExamples')
-rw-r--r--website/usageExamples/LogExample_post.jpage2
-rw-r--r--website/usageExamples/LogExample_pre.jpage2
2 files changed, 2 insertions, 2 deletions
diff --git a/website/usageExamples/LogExample_post.jpage b/website/usageExamples/LogExample_post.jpage
index eab3b046..78c0fdd9 100644
--- a/website/usageExamples/LogExample_post.jpage
+++ b/website/usageExamples/LogExample_post.jpage
@@ -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");
}
}
diff --git a/website/usageExamples/LogExample_pre.jpage b/website/usageExamples/LogExample_pre.jpage
index ba27dd27..9fa1e91c 100644
--- a/website/usageExamples/LogExample_pre.jpage
+++ b/website/usageExamples/LogExample_pre.jpage
@@ -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");
}
}