use logger methods instead of own prefixing

This commit is contained in:
Steffen Schröder 2014-08-05 02:07:53 +02:00
parent 5eda73ba09
commit c0c78724d3

View File

@ -92,10 +92,11 @@ class SystemUtil {
public static function quit($message = null, $errorPrefix = false) {
if ($message) {
if ($errorPrefix) {
$message = '[ERROR] ' . $message;
}
Logger::logError($message);
} else{
Logger::log($message);
}
}
exit;
}