[Java] Class JavaUtilLoggingStrategy
- groovy.util.logging.Log.JavaUtilLoggingStrategy
This class contains the logic of how to weave a Java Util Logging logger into the host class.
Constructor Summary
Constructor and description |
---|
protected Log.JavaUtilLoggingStrategy
(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 Log.JavaUtilLoggingStrategy(GroovyClassLoader loader)
Method Detail
public FieldNode addLoggerFieldToClass(ClassNode classNode, String logFieldName, String categoryName)
public boolean isLoggingMethod(String methodName)
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.4.21/html/gapi/groovy/util/logging/Log.JavaUtilLoggingStrategy.html