src/BaiduBce/Log/MonoLogFactory.php
public function getLogger($name)
    {
        $logger = new Logger($name);
        if ($this->handlers !== null) {
            foreach ($this->handlers as $handler) {
                $logger->pushHandler($handler);
            }
        }
        return $logger;
    }
public function getLogger($name)
    {
        $logger = new Logger($name);
        if ($this->handlers !== null) {
            foreach ($this->handlers as $handler) {
                $logger->pushHandler($handler);
            }
        }
        return $logger;
    }
public function getLogger ( $ name ) { $ logger = new Logger ( $ name ) ; if ( $ this -> handlers !== null ) { foreach ( $ this -> handlers as $ handler ) { $ logger -> pushHandler ( $ handler ) ; } } return $ logger ; }
Returns \Monolog\Logger.

@param string $name the name of logger
@return \Monolog\Logger a monolog logger instance
Returns \ Monolog \ Logger .