| java.lang.Object com.opensymphony.workflow.util.LogRegister
LogRegister | public class LogRegister implements Register(Code) | | This is a register, which helps logging using commons-logging.
It wraps a Logger instance which is linked to the "OSWorkflow//" category
Following optional arguments available:
- addInstanceId=true/false - if the instance id of the workflow should be added to the category. Defaults to false
- Category="OSWorkflow" - change the name of the log category other than "OSWorkflow"
If you register this class as "Logger", then you may use it from a Beanshell script like:
logger = transientVars.get("logger");
logger.debug("hello logger!");
author: Zoltan Luspai |
|
|