Changes between Initial Version and Version 1 of Old/NodeHandler/Commands/Debug


Ignore:
Timestamp:
Apr 15, 2006, 4:27:24 AM (19 years ago)
Author:
max
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Old/NodeHandler/Commands/Debug

    v1 v1  
     1[wiki:Documentation]
     2| [wiki:Documentation/NodeHandler NodeHandler]
     3| [wiki:Documentation/NodeHandler/Commands Commands]
     4| debug, info, warn, error
     5
     6= debug, info, warn, error: Logging =
     7
     8These 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.
     9
     10
     11
     12== Syntax ==
     13
     14'''debug(...)[[BR]]
     15info(...)[[BR]]
     16warn(...)[[BR]]
     17error(...)'''
     18
     19  * '''...''': One or more arguments
     20
     21The arguments to these commands will be converted into strings and joined with NO additional spaces between them.
     22
     23== Usage ==
     24
     25{{{
     26  info("Starting")
     27  debug(i, " node(s) are up")
     28}}}
     29