src/Mero/Monolog/MonologComponent.php
public function getLogger($name = 'main')
    {
        if (!$this->hasLogger($name)) {
            throw new LoggerNotFoundException(sprintf("Logger instance '%s' not found", $name));
        }

        return $this->channels[$name];
    }
public function getLogger($name = 'main')
    {
        if (!$this->hasLogger($name)) {
            throw new LoggerNotFoundException(sprintf("Logger instance '%s' not found", $name));
        }

        return $this->channels[$name];
    }
public function getLogger ( $ name = 'main' ) { if ( ! $ this -> hasLogger ( $ name ) ) { throw new LoggerNotFoundException ( sprintf ( "Logger instance '%s' not found" , $ name ) ) ; } return $ this -> channels [ $ name ] ; }
Return logger object.

@param string $name Logger name

@return Logger Logger object

@throws LoggerNotFoundException
Return logger object .