Documentation
SendDebug
Require: IP-Symcon >= 4.0
void SendDebug (string $MessageName, string $Data, int $Format)
Parameters
MessageName | Name/title of the debug output |
Data | Content of the debug message |
Format | Presetting for automatic formation selection (0 = text, 1 = hex) |
Returns
No Return
Description
Outputs the debug message Data with the message name MessageName and the format Format.
Format indicates whether text or hex output is selected for automatic display.
Example
// Example from the presence simulation
$this->SendDebug("Fetch", "Fetched day -".$day." with ".sizeof($data['Data'])." valid device(s)", 0);
// Sample output automatically configured as text output in the debug window
"Fetch" - "Fetched day -28 with 2 valid device(s)"