|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD | |||||||
java.lang.Objectorg.codenarc.rule.AbstractAstVisitorRule
groovy.org.codenarc.rule.logging.LoggerForDifferentClassRule
class LoggerForDifferentClassRule extends AbstractAstVisitorRule
Rule that checks for instantiating a logger for a class other than the current class. Supports logger instantiations for Log4J, Logback, SLF4J, Apache Commons Logging, Java Logging API (java.util.logging). Limitations:
| Property Summary | |
|---|---|
boolean |
allowDerivedClasses
|
Class |
astVisitorClass
|
String |
name
|
int |
priority
|
| Property Detail |
|---|
boolean allowDerivedClasses
Class astVisitorClass
String name
int priority
Groovy Documentation