How to print error in script task in javascript

Does system.err.println(“hello”) support by nashroneEngine to print the error in console or log file ?