railo-context.Component coldbox.system.aop.aspects.MethodLogger
A simple interceptor that logs method calls and their results
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
log
|
true
|
false
|
Constructor Summary | |
---|---|
init([boolean logResults='true'])
Constructor. |
Method Summary | |
---|---|
any
|
invokeMethod(any<MethodInvocation> invocation)
Invoke an AOP method invocation. |
Methods inherited from class railo-context.Component |
---|
None |
Constructor Detail |
---|
Constructor
logResults
- Do we log results or not?Property Detail |
---|
required
- falseinject
- logbox:logger:{this}serializable
- trueMethod Detail |
---|
Invoke an AOP method invocation
invokeMethod
in interface
MethodInterceptor
invocation
- The method invocation object: coldbox.system.aop.MethodInvocation