public function hasLogger($loggerType)
    {
        try {
            $this->getContainer()->getNamingDirectory()->search(sprintf('php:global/log/%s', $loggerType));
            return true;
        } catch (NamingException $ne) {
            return false;
        }
    }
public function hasLogger($loggerType)
    {
        try {
            $this->getContainer()->getNamingDirectory()->search(sprintf('php:global/log/%s', $loggerType));
            return true;
        } catch (NamingException $ne) {
            return false;
        }
    }
public function hasLogger ( $ loggerType ) { try { $ this -> getContainer ( ) -> getNamingDirectory ( ) -> search ( sprintf ( 'php:global/log/%s' , $ loggerType ) ) ; return true ; } catch ( NamingException $ ne ) { return false ; } }
Queries if the requested logger type is registered or not.

@param string $loggerType The logger type we want to query

@return boolean TRUE if the logger is registered, else FALSE
Queries if the requested logger type is registered or not .