Groovy Documentation

groovy.util.logging
[Java] Class Log.JavaUtilLoggingStrategy

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

Log.JavaUtilLoggingStrategy

protected Log.JavaUtilLoggingStrategy(GroovyClassLoader loader)


 
Method Detail

addLoggerFieldToClass

public FieldNode addLoggerFieldToClass(ClassNode classNode, java.lang.String logFieldName)


isLoggingMethod

public boolean isLoggingMethod(java.lang.String methodName)


wrapLoggingMethodCall

public Expression wrapLoggingMethodCall(Expression logVariable, java.lang.String methodName, Expression originalExpression)


 

Groovy Documentation