+1
Also look at DevTest 8.0 - Scripting Guide - V1.1.pdf page 19 for the injected reference to the "_logger".
// a simple display when logging.properties is set to INFO mode
_logger.info("message");
// a simple display with a property value
_logger.info("<<< message is: {}", testExec.getStateValue("someProp");
// or a more complex display substituting property values
_logger.info("<<< message X: {} contains Y: {}",
testExec.getStateValue("propForX"),
testExec.getStateValue("propForY") );
Where { } and { } are placeholders for the values associated with someProp, propForX and propForY, respectively.
Overloads are separated by a comma ( , ) as can be seen in the third example.
_logger.info("msg"); - displays in the log when logging.properties is set to INFO
_logger.debug("msg"); - displays in the log when logging.properties is set to DEBUG
_logger.warn("msg"); - displays in the log when logging.properties is set to WARN