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 string $message
* @param bool $stripCodes * @param bool $stripCodes
* @deprecated
* @see Logger::log()
*/ */
public function log($message, $stripCodes = false) { public function log($message, $stripCodes = false) {
if ($stripCodes) { Logger::log($message, true, true, $stripCodes);
$message = Formatter::stripCodes($message);
}
Logger::log($message);
} }
/** /**