Package org.codehaus.groovy.transform
Class LogASTTransformation.AbstractLoggingStrategy
- java.lang.Object
-
- org.codehaus.groovy.transform.LogASTTransformation.AbstractLoggingStrategy
-
- All Implemented Interfaces:
LogASTTransformation.LoggingStrategy
- Direct Known Subclasses:
Commons.CommonsLoggingStrategy
,Log.JavaUtilLoggingStrategy
,Log4j.Log4jLoggingStrategy
,Log4j2.Log4j2LoggingStrategy
,Slf4j.Slf4jLoggingStrategy
- Enclosing class:
- LogASTTransformation
public abstract static class LogASTTransformation.AbstractLoggingStrategy extends Object implements LogASTTransformation.LoggingStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected GroovyClassLoader
loader
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractLoggingStrategy()
protected
AbstractLoggingStrategy(GroovyClassLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClassNode
classNode(String name)
String
getCategoryName(ClassNode classNode, String categoryName)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.codehaus.groovy.transform.LogASTTransformation.LoggingStrategy
addLoggerFieldToClass, isLoggingMethod, wrapLoggingMethodCall
-
-
-
-
Field Detail
-
loader
protected final GroovyClassLoader loader
-
-
Constructor Detail
-
AbstractLoggingStrategy
protected AbstractLoggingStrategy(GroovyClassLoader loader)
-
AbstractLoggingStrategy
protected AbstractLoggingStrategy()
-
-
Method Detail
-
getCategoryName
public String getCategoryName(ClassNode classNode, String categoryName)
- Specified by:
getCategoryName
in interfaceLogASTTransformation.LoggingStrategy
-
-