public static class Log4j2.Log4j2LoggingStrategy extends LogASTTransformation.AbstractLoggingStrategyV2
loader| Modifier | Constructor and Description | 
|---|---|
protected  | 
Log4j2LoggingStrategy(GroovyClassLoader loader)  | 
| Modifier and Type | Method and Description | 
|---|---|
FieldNode | 
addLoggerFieldToClass(ClassNode classNode,
                     String logFieldName,
                     String categoryName,
                     int fieldModifiers)
In this method, you are given a ClassNode, a field name and a category name, and you must add a new Field
 onto the class. 
 | 
boolean | 
isLoggingMethod(String methodName)  | 
Expression | 
wrapLoggingMethodCall(Expression logVariable,
                     String methodName,
                     Expression originalExpression)  | 
addLoggerFieldToClassclassNode, getCategoryNameclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCategoryNameprotected Log4j2LoggingStrategy(GroovyClassLoader loader)
public FieldNode addLoggerFieldToClass(ClassNode classNode, String logFieldName, String categoryName, int fieldModifiers)
LogASTTransformation.LoggingStrategyV2classNode - the class that was originally annotated with the Log transformation.logFieldName - the name of the logger fieldcategoryName - the name of the logging categoryfieldModifiers - the modifiers (private, final, et. al.) of the logger fieldpublic boolean isLoggingMethod(String methodName)
public Expression wrapLoggingMethodCall(Expression logVariable, String methodName, Expression originalExpression)