Groovy 2.2.0

groovy.util.logging
[Java] Class Log4j2.Log4j2LoggingStrategy

java.lang.Object
  org.codehaus.groovy.transform.LogASTTransformation.AbstractLoggingStrategy
      groovy.util.logging.Log4j2.Log4j2LoggingStrategy

public static class Log4j2.Log4j2LoggingStrategy
extends AbstractLoggingStrategy

Constructor Summary
protected Log4j2.Log4j2LoggingStrategy(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

Log4j2.Log4j2LoggingStrategy

protected Log4j2.Log4j2LoggingStrategy(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.