ManiaControl class log method

This commit is contained in:
Steffen Schröder 2013-12-09 15:53:10 +01:00
parent 6c28933a48
commit 323cec03ac
1 changed files with 9 additions and 0 deletions

View File

@ -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
*