|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.codehaus.groovy.transform.LogASTTransformation.AbstractLoggingStrategy
groovy.util.logging.Slf4j.Slf4jLoggingStrategy
public static class Slf4j.Slf4jLoggingStrategy
Field Summary |
---|
Fields inherited from class org.codehaus.groovy.transform.LogASTTransformation.AbstractLoggingStrategy |
---|
loader |
Constructor Summary | |
---|---|
protected |
Slf4j.Slf4jLoggingStrategy(GroovyClassLoader loader)
|
Method Summary | |
---|---|
FieldNode |
addLoggerFieldToClass(ClassNode classNode,
java.lang.String logFieldName)
In this method, you are given a ClassNode and a field name, and you must add a new Field onto the class. |
boolean |
isLoggingMethod(java.lang.String methodName)
|
Expression |
wrapLoggingMethodCall(Expression logVariable,
java.lang.String methodName,
Expression originalExpression)
|
Methods inherited from class org.codehaus.groovy.transform.LogASTTransformation.AbstractLoggingStrategy |
---|
classNode |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected Slf4j.Slf4jLoggingStrategy(GroovyClassLoader loader)
Method Detail |
---|
public FieldNode addLoggerFieldToClass(ClassNode classNode, java.lang.String logFieldName)
LogASTTransformation.LoggingStrategy
classNode
- the class that was originally annotated with the Log transformation.logFieldName
- the name of the logger field
public boolean isLoggingMethod(java.lang.String methodName)
public Expression wrapLoggingMethodCall(Expression logVariable, java.lang.String methodName, Expression originalExpression)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |