replaced trigger_error calls by Logger methods

This commit is contained in:
Steffen Schröder
2014-08-03 13:29:54 +02:00
parent 53ccd70b45
commit c246568f95
9 changed files with 33 additions and 30 deletions

View File

@ -2,6 +2,8 @@
namespace ManiaControl\Utils;
use ManiaControl\Logger;
/**
* Class offering Methods to format Texts and Values
*
@ -153,7 +155,7 @@ abstract class Formatter {
return $nations[$country];
}
if ($country) {
trigger_error("Couldn't map Country: '{$country}'!");
Logger::logWarning("Couldn't map Country: '{$country}'!");
}
return 'OTH';
}