$config
$config : array
log_sql(string $origin, string $msg, integer $affected_rows, integer $new_id, string $sql) : void
log_sql: wrapper for log_do() for sql logging
string | $origin | : Sender of the logmessage. F.e.: 'form', 'save', 'report', 'extjs', ... |
string | $msg | : Only filled if there was an error |
integer | $affected_rows | : Number of rows inserted, updated or deleted. |
integer | $new_id | : last_insert_id() |
string | $sql | : SQL statement fired |
log_do(string $class, string $status, $origin, $message)
log_do: format log entries, build fix part, append dynamic part, write.
string | $class | : 'error', 'mail', 'sql', 'browser'. New classes has to be defined in ext_localconf.php |
string | $status | : 'E' (0:error), 'W' (1:warning), 'I' (2:information), 'D1' (3:debug verbose), 'D2' (4:debug very verbose), 'D3' (5:debug very very verbose) |
$origin | ||
$message |
log_mail( $origin, string $status, string $msg, string $mailarr) : \qfq\The
Logs every email (failed or successfull)
$origin | ||
string | $status | : 'E' (0:error), 'W' (1:warning), 'I' (2:information), 'D1' (3:debug verbose), 'D2' (4:debug very verbose), 'D3' (5:debug very very verbose) |
string | $msg | : Message |
string | $mailarr | : data to log |
content that is displayed on the website