JEF provides a new logger object to add messages to job history. The ActionExecutorLogger lets you send Flex Events against the running job. The message will be added by Flex Enterprise to the job context.
The following options are possible using the available actionExecutorLogger object in the ActionExecutor:
- actionExecutorLogger.info("message");
- actionExecutorLogger.warning("message");
- actionExecutorLogger.error("message");
- actionExecutorLogger.error("message", new RuntimeException("error"));
This is similar to context.info and similar functions available from the Flex groovy script SDK.
Comments
0 comments
Please sign in to leave a comment.