$levelString
$levelString :
Possible levels
Class to manage a logging system.
It implements just a static function (doLog). See $config['SYSTEM']['ALERT_LEVEL'] in mymvc.php to configure the alert level (when should be logged)
doLog(string $method, integer $line, string $message, integer $level = ALERT_CRITICAL, boolean $send = false) : string
Save a message in the error log
string | $method | Method of the class |
integer | $line | Line that generate the error |
string | $message | The error message |
integer | $level | Error level (see mymvc.php) |
boolean | $send | true if the error should be sent per E-Mail oder to a Nagios server (Default: false) |
The complete error message, to use for an Exception