ManiaControl class log method
This commit is contained in:
		| @@ -105,6 +105,15 @@ class ManiaControl implements CommandListener { | |||||||
| 		$this->commandManager->registerCommandListener('version', $this, 'command_Version'); | 		$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 | 	 * Return message composed of client error message and error code | ||||||
| 	 * | 	 * | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user