Groovy 2.2.0

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, String logFieldName, String categoryName)

boolean isLoggingMethod(String methodName)

Expression wrapLoggingMethodCall(Expression logVariable, String methodName, Expression originalExpression)

 

Constructor Detail

Log.JavaUtilLoggingStrategy

protected Log.JavaUtilLoggingStrategy(GroovyClassLoader loader)


 
Method Detail

addLoggerFieldToClass

public FieldNode addLoggerFieldToClass(ClassNode classNode, String logFieldName, String categoryName)


isLoggingMethod

public boolean isLoggingMethod(String methodName)


wrapLoggingMethodCall

public Expression wrapLoggingMethodCall(Expression logVariable, String methodName, Expression originalExpression)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.