|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.transform.LogASTTransformation.AbstractLoggingStrategy groovy.util.logging.Log.JavaUtilLoggingStrategy
public static class Log.JavaUtilLoggingStrategy extends AbstractLoggingStrategy
This class contains the logic of how to weave a Java Util Logging logger into the host class.
Constructor Summary | |
protected Log.JavaUtilLoggingStrategy(GroovyClassLoader loader)
|
Method Summary | |
---|---|
FieldNode
|
addLoggerFieldToClass(ClassNode classNode, java.lang.String logFieldName)
|
boolean
|
isLoggingMethod(java.lang.String methodName)
|
Expression
|
wrapLoggingMethodCall(Expression logVariable, java.lang.String methodName, Expression originalExpression)
|
Constructor Detail |
---|
protected Log.JavaUtilLoggingStrategy(GroovyClassLoader loader)
Method Detail |
---|
public FieldNode addLoggerFieldToClass(ClassNode classNode, java.lang.String logFieldName)
public boolean isLoggingMethod(java.lang.String methodName)
public Expression wrapLoggingMethodCall(Expression logVariable, java.lang.String methodName, Expression originalExpression)
Groovy Documentation