Let's say I have a Jaggery application deployed in WSO2 AS, I want to log the user events to audit.log file via Jaggery block layer.
We can log adding following code:
var audit = org.wso2.carbon. CarbonConstants.AUDIT_LOG;
audit.info("log message");
We can log adding following code:
var audit = org.wso2.carbon.
audit.info("log message");
Comments