| | 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 | |
| | 8 | 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. |
| | 9 | |
| | 10 | |
| | 11 | |
| | 12 | == Syntax == |
| | 13 | |
| | 14 | '''debug(...)[[BR]] |
| | 15 | info(...)[[BR]] |
| | 16 | warn(...)[[BR]] |
| | 17 | error(...)''' |
| | 18 | |
| | 19 | * '''...''': One or more arguments |
| | 20 | |
| | 21 | The 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 | |