diff --git a/application/core/ManiaControl.php b/application/core/ManiaControl.php index 07e03262..0f26ac32 100644 --- a/application/core/ManiaControl.php +++ b/application/core/ManiaControl.php @@ -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 *