public function getLogger($loggerType = self::DEFAULT_LOGGER_TYPE)
{
try {
return $this->getContainer()->getNamingDirectory()->search(sprintf('php:global/log/%s', $loggerType));
} catch (NamingException $ne) {
throw new ServerException("Logger name '{$loggerType}' does not exist.", 500);
}
}