Accessing the logger from a programme

To help with testing of steps, a logger is injected into the code execution. Messages sent to the logger are displayed in the programme builder when testing.

Methods available to the logger: -

logger.info(String s);
logger.info(String s, Object arg1);
logger.info(String s, Object arg1, Object arg2);
logger.info(String s, Object...args);
logger.warn(String s);
logger.warn(String s, Object arg1);
logger.warn(String s, Object arg1, Object arg2);
logger.warn(String s, Object...args);
logger.error(String s);
logger.error(String s, Object arg1);
logger.error(String s, Object arg1, Object arg2);
logger.error(String s, Object...args);
logger.debug(String s);
logger.debug(String s, Object arg1);
logger.debug(String s, Object arg1, Object arg2);
logger.debug(String s, Object...args);

Still need help? Contact Us Contact Us