Logger objects should be declared private, static and final. The exception is, when derived classes should use logger objects. Then they should be declared protected, non-static and final. This rule find loggers that are not declared with these modifiers.
Type | Name and description |
---|---|
boolean |
allowNonStaticLogger |
boolean |
allowProtectedLogger |
Class |
astVisitorClass |
String |
name |
int |
priority |