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 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);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user