Function dbg_error_log
Writes a debug message into the error log using printf syntax. If the first parameter is "ERROR" then the message will always be logged. Otherwise, the first parameter is a "component" name, and will only be logged if $c->dbg["component"] is set to some non-null value.
If you want to see every log message then $c->dbg["ALL"] can be set, to override the debugging status of the individual components.
Package: awl\Utilities
Copyright: Catalyst IT Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU LGPL version 3 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Var: string $component The component to identify itself, or "ERROR", or "LOG:component"
Var: string $format A format string for the log message
Var: [string $parameter ...] Parameters for the format string.
Located at AWLUtilities.php
Copyright: Catalyst IT Ltd, Morphoss Ltd http://www.morphoss.com/
License: GNU LGPL version 3 or later
Author: Andrew McMillan andrew@mcmillan.net.nz
Var: string $component The component to identify itself, or "ERROR", or "LOG:component"
Var: string $format A format string for the log message
Var: [string $parameter ...] Parameters for the format string.
Located at AWLUtilities.php