fip*_*ies 6 wso2 wso2esb wso2carbon
我想从使用Javascript脚本调解器登录来调试porpouses.必须将消息/变量值...添加到上下文变量并在序列中使用日志中介是非常烦人的.
有办法避免这种情况吗?
国王问候.
小智 14
您只需要在脚本调解器中获取ServiceLog并按如下方式使用它:
<script language="js">
var log = mc.getServiceLog();
log.info("Logging inside Script Mediator");
</script>
Run Code Online (Sandbox Code Playgroud)