Annotation Type JBossLog

@Retention(SOURCE) @Target(TYPE) public @interface JBossLog
Causes lombok to generate a logger field.

Complete documentation is found at the project lombok features page for lombok log annotations.


 public class LogExample {
will generate:
 public class LogExample {
     private static final org.jboss.logging.Logger log = org.jboss.logging.Logger.getLogger(LogExample.class);
This annotation is valid for classes and enumerations.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
  • Element Details

    • topic

      String topic
      The category of the constructed Logger. By default, it will use the type where the annotation is placed.