Groovy 2.2.1

groovy.util.logging
[Java] Class Log4j.Log4jLoggingStrategy

java.lang.Object
  org.codehaus.groovy.transform.LogASTTransformation.AbstractLoggingStrategy
      groovy.util.logging.Log4j.Log4jLoggingStrategy

public static class Log4j.Log4jLoggingStrategy
extends AbstractLoggingStrategy

Constructor Summary
protected Log4j.Log4jLoggingStrategy(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

Log4j.Log4jLoggingStrategy

protected Log4j.Log4jLoggingStrategy(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.