What can we improve?

Documentation

(Edit)

IPS_LogMessage

boolean IPS_LogMessage (string $Sender, string $Message)

Parameters

Sender The sender
Message The message

Returns

If the command succeeds, it returns TRUE, otherwise FALSE.

Description

The function writes the message Message into the log file and provides the sender Sender. The string Sender should indicate the cause of the report, e.g., the name of the script. The message is immediately available in the message view as "Custom Message".

Example

$ScriptStart = microtime(true);
// calculate a lot...
$ScriptTerm = microtime(true) - $ScriptStart;
IPS_LogMessage($_IPS['SELF'], "Term is ". $SkriptTerm. "sec");
Deutsche Webseite verfügbar
Go to cart
Any questions?