diff options
Diffstat (limited to 'usage_examples/LogExample_pre.jpage')
-rw-r--r-- | usage_examples/LogExample_pre.jpage | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/usage_examples/LogExample_pre.jpage b/usage_examples/LogExample_pre.jpage index afabf369..196a9047 100644 --- a/usage_examples/LogExample_pre.jpage +++ b/usage_examples/LogExample_pre.jpage @@ -1,4 +1,5 @@ -import lombok.extern.slf4j.Log; +import lombok.extern.java.Log; +import lombok.extern.slf4j.Slf4j; @Log public class LogExample { @@ -7,3 +8,11 @@ public class LogExample { log.error("Something's wrong here"); } } + +@Slf4j +public class LogExampleOther { + + public static void main(String... args) { + log.error("Something else is wrong here"); + } +} |