lucee.Component coldbox.system.aop.aspects.MethodLogger
Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.ortussolutions.com --- A simple interceptor that logs method calls and their results
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
log
|
true
|
false
|
|
boolean
|
logResults
Log results.
|
true
|
true
|
false
|
Constructor Summary | |
---|---|
init([boolean logResults='true'])
Constructor. |
Method Summary | |
---|---|
string
|
getLog()
|
string
|
getLogResults()
|
any
|
invokeMethod(any<MethodInvocation> invocation)
Invoke an AOP method invocation. |
any
|
setLog(any log)
|
any
|
setLogResults(boolean logResults)
|
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
logResults
- Log results or notProperty Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- logbox:logger:{this}serializable
- trueLog results
access
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
Invoke an AOP method invocation
invokeMethod
in interface
MethodInterceptor
invocation
- The invocation objectlog
logResults