Improved crash dumps

This commit is contained in:
Shoghi Cervantes
2014-01-28 12:50:42 +01:00
parent f8b270e33f
commit 9a4bae7d64
3 changed files with 33 additions and 4 deletions

View File

@ -192,6 +192,7 @@ function console($message, $EOL = true, $log = true, $level = 1){
if(preg_match("/\[([a-zA-Z0-9]*)\]/", $message, $matches) > 0){
switch($matches[1]){
case "ERROR":
case "SEVERE":
$add .= FORMAT_RED;
break;
case "INTERNAL":