use logger methods instead of own prefixing
This commit is contained in:
parent
5eda73ba09
commit
c0c78724d3
@ -92,9 +92,10 @@ class SystemUtil {
|
||||
public static function quit($message = null, $errorPrefix = false) {
|
||||
if ($message) {
|
||||
if ($errorPrefix) {
|
||||
$message = '[ERROR] ' . $message;
|
||||
Logger::logError($message);
|
||||
} else{
|
||||
Logger::log($message);
|
||||
}
|
||||
Logger::log($message);
|
||||
}
|
||||
exit;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user