[Java] Class Log4j2LoggingStrategy
- groovy.util.logging.Log4j2.Log4j2LoggingStrategy
Constructor Summary
Constructor and description |
---|
protected Log4j2.Log4j2LoggingStrategy
(GroovyClassLoader loader) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
FieldNode |
addLoggerFieldToClass(ClassNode classNode, String logFieldName, String categoryName) | |
boolean |
isLoggingMethod(String methodName) | |
Expression |
wrapLoggingMethodCall(Expression logVariable, String methodName, Expression originalExpression) |
Constructor Detail
protected Log4j2.Log4j2LoggingStrategy(GroovyClassLoader loader)
Method Detail
public FieldNode addLoggerFieldToClass(ClassNode classNode, String logFieldName, String categoryName)
@Override public boolean isLoggingMethod(String methodName)
@Override public Expression wrapLoggingMethodCall(Expression logVariable, String methodName, Expression originalExpression)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/groovy/util/logging/Log4j2.Log4j2LoggingStrategy.html