public function getLogger() { if (!LoggerManager::$instance) { LoggerManager::$instance = new LoggerManager(); } return LoggerManager::$instance; }