wiki:Old/NodeHandler/Commands/Debug

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")
Last modified 18 years ago Last modified on Apr 15, 2006, 4:27:24 AM
Note: See TracWiki for help on using the wiki.