Custom script messages for logs
Introduction
When testing and debugging scripts, it can be useful to write specific information to logs after the script has finished processing.
You can do this by adding a logs
array key to a script, with required output added as strings - for example:
PHP
...is output as:
Need to know
Log messages must be strings.
A maximum of 500 characters (in total) is allowed.
Use with care (especially in loops) as logs are output every time the script runs.
Last updated