wiki:Old/NodeHandler/Commands/Debug

Version 1 (modified by max, 19 years ago) ( diff )

Documentation | NodeHandler | Commands | debug, info, warn, error

debug, info, warn, error: Logging

These commands allow the experimenter to create logging information. Depending on the logging settings some of these messages will be displayed on the command line, or written to a log file. See 'nodehandler' for more information on that.

Syntax

debug(…)
info(…)
warn(…)
error(…)

  • : One or more arguments

The arguments to these commands will be converted into strings and joined with NO additional spaces between them.

Usage

  info("Starting")
  debug(i, " node(s) are up")
Note: See TracWiki for help on using the wiki.