deprecated ManiaControl log method to directly use Logger instead
This commit is contained in:
parent
8738deeb46
commit
adfccb4fc0
@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user