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 java.lang.Object implements LogASTTransformation.LoggingStrategy
-
-
Field Summary
Fields Modifier and Type Field Description protected GroovyClassLoaderloader
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractLoggingStrategy()protectedAbstractLoggingStrategy(GroovyClassLoader loader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ClassNodeclassNode(java.lang.String name)java.lang.StringgetCategoryName(ClassNode classNode, java.lang.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 java.lang.String getCategoryName(ClassNode classNode, java.lang.String categoryName)
- Specified by:
getCategoryNamein interfaceLogASTTransformation.LoggingStrategy
-
classNode
protected ClassNode classNode(java.lang.String name)
-
-