aboutsummaryrefslogtreecommitdiff
path: root/usage_examples/LogExample_post.jpage
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2010-11-09 20:37:25 +0100
committerReinier Zwitserloot <reinier@zwitserloot.com>2010-11-09 20:37:25 +0100
commit46d471e9c3dc32b03c34804df1819739a4dffc50 (patch)
tree9c31d75426bf8fdb1943bef2a996485640f7bf5e /usage_examples/LogExample_post.jpage
parent92b7efac48c18f22b81098cf1d844a891bb71648 (diff)
parent98d8a9f63b3183005174abb7691a1692347b9a2e (diff)
downloadlombok-46d471e9c3dc32b03c34804df1819739a4dffc50.tar.gz
lombok-46d471e9c3dc32b03c34804df1819739a4dffc50.tar.bz2
lombok-46d471e9c3dc32b03c34804df1819739a4dffc50.zip
Merge branch 'master' into annoGetSet
Diffstat (limited to 'usage_examples/LogExample_post.jpage')
-rw-r--r--usage_examples/LogExample_post.jpage15
1 files changed, 15 insertions, 0 deletions
diff --git a/usage_examples/LogExample_post.jpage b/usage_examples/LogExample_post.jpage
new file mode 100644
index 00000000..cbdc5a9e
--- /dev/null
+++ b/usage_examples/LogExample_post.jpage
@@ -0,0 +1,15 @@
+public class LogExample {
+ private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(LogExample.class);
+
+ public static void main(String... args) {
+ log.error("Something's wrong here");
+ }
+}
+
+public class LogExampleOther {
+ private static final org.slf4j.Logger log = org.slf4j.LoggerFactory.getLogger(java.util.List.class);
+
+ public static void main(String... args) {
+ log.warn("Something might be wrong here");
+ }
+}