sysLog |
|
sysLog( [const message, // message to display (default: none) const raw, // raw mode (default: false) const quiet]) // silent mode: to logfile only (default: false) Displays a message on screen and writes it to the logfile if one was opened. If no argument is passed, an empty line is logged. While the message is displayed on the screen as is, each line in the logfile will start with a timestamp. If raw is true, logging is done in raw mode, e.g. no loglevel indenting and no timestamp in the logfile. If quiet is true, the message is written to the logfile only, but not displayed on the screen. Examples: sysLog(); // empty line sysLog('message'); // message cooked mode sysLog('test', true); // test in raw mode sysLog('hello', 0, 1); // write to logfile only | ||||||||
Copyright © IBK Landquart | Last revised by Peter Koch, 24.02.00 | << Back Top Next >> |