ManiaControl class log method
This commit is contained in:
parent
6c28933a48
commit
323cec03ac
@ -105,6 +105,15 @@ class ManiaControl implements CommandListener {
|
||||
$this->commandManager->registerCommandListener('version', $this, 'command_Version');
|
||||
}
|
||||
|
||||
/**
|
||||
* Print a message to console and log
|
||||
*
|
||||
* @param string $message
|
||||
*/
|
||||
public function log($message) {
|
||||
logMessage($message);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return message composed of client error message and error code
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user