From 323cec03ac575857239b42e64b7eb720f274f5ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Mon, 9 Dec 2013 15:53:10 +0100 Subject: [PATCH] ManiaControl class log method --- application/core/ManiaControl.php | 9 +++++++++ 1 file changed, 9 insertions(+) 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 *