diff options
Diffstat (limited to 'usage_examples/LogExample_pre.jpage')
-rw-r--r-- | usage_examples/LogExample_pre.jpage | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/usage_examples/LogExample_pre.jpage b/usage_examples/LogExample_pre.jpage new file mode 100644 index 00000000..450a6a34 --- /dev/null +++ b/usage_examples/LogExample_pre.jpage @@ -0,0 +1,17 @@ +import lombok.slf4j.Log; + +@Log +public class LogExample { + + public static void main(String... args) { + log.error("Something's wrong here"); + } +} + +@Log(java.util.List.class) +public class LogExampleOther { + + public static void main(String... args) { + log.warn("Something might be wrong here"); + } +} |