public function createDefaultChromePHPLogger($name, $level = Logger::DEBUG)
    {
        $logger = new Logger($name);
        $handler = new \Monolog\Handler\ChromePHPHandler($level);
        $logger->pushHandler($handler);
        $this->loggers[$name] = $logger;

        return $this;
    }
public function createDefaultChromePHPLogger($name, $level = Logger::DEBUG)
    {
        $logger = new Logger($name);
        $handler = new \Monolog\Handler\ChromePHPHandler($level);
        $logger->pushHandler($handler);
        $this->loggers[$name] = $logger;

        return $this;
    }
public function createDefaultChromePHPLogger ( $ name , $ level = Logger :: DEBUG ) { $ logger = new Logger ( $ name ) ; $ handler = new \ Monolog \ Handler \ ChromePHPHandler ( $ level ) ; $ logger -> pushHandler ( $ handler ) ; $ this -> loggers [ $ name ] = $ logger ; return $ this ; }
Creates an internal chrome php logger.

@param string     $name  Logger channel name
@param int|string $level Logging level

@return $this
Creates an internal chrome php logger .