Annotation Type Flogger
Causes lombok to generate a logger field.
Complete documentation is found at the project lombok features page for lombok log annotations.
Example:
@Flogger public class LogExample { }will generate:
public class LogExample { private static final com.google.common.flogger.FluentLogger log = com.google.common.flogger.FluentLogger.forEnclosingClass(); }This annotation is valid for classes and enumerations.
- See Also: