deprecated ManiaControl log method to directly use Logger instead

This commit is contained in:
Steffen Schröder 2014-08-05 00:55:59 +02:00
parent 8738deeb46
commit adfccb4fc0

View File

@ -178,12 +178,11 @@ class ManiaControl implements CallbackListener, CommandListener, TimerListener {
*
* @param string $message
* @param bool $stripCodes
* @deprecated
* @see Logger::log()
*/
public function log($message, $stripCodes = false) {
if ($stripCodes) {
$message = Formatter::stripCodes($message);
}
Logger::log($message);
Logger::log($message, true, true, $stripCodes);
}
/**