Loading

LOGMSG Extension: io.warp10.script.ext.debug.DebugWarpScriptExtension


extensions
Since v1.0.0
Available on all platforms
See also

Configuration parameters


LOGMSG function prints millisecond timestamp and input text on the standard output.

The LOGMSG function is part of the io.warp10.script.ext.debug.DebugWarpScriptExtension, this extenstion must be specified in the warpscript.extensions configuration parameter for it to be available.

Add the following line to your Warp 10 configuration :

warpscript.extension.debug=io.warp10.script.ext.debug.DebugWarpScriptExtension

Signature

Examples

//On a standalone install, standard and error output will be written in ./logs/warp10.log //In an IDE, standard and error output will be where you want them to be. 'starting the function' LOGMSG // .. // .. // +> io.warp10.WarpClassLoader@3d285d7e // +- sun.misc.Launcher$AppClassLoader@42a57993 // [1530176075072] starting the function