src/Logger/Logger.php
public function addStream($path, $level, $bubble = true)
    {
        $handler = new StreamHandler(
            $path,
            $this->parseLevel($level),
            $bubble
        );
        $handler->setFormatter($this->getDefaultFormatter());

        $this->logger
            ->pushHandler($handler)
        ;

        return $this;
    }
public function addStream($path, $level, $bubble = true)
    {
        $handler = new StreamHandler(
            $path,
            $this->parseLevel($level),
            $bubble
        );
        $handler->setFormatter($this->getDefaultFormatter());

        $this->logger
            ->pushHandler($handler)
        ;

        return $this;
    }
public function addStream ( $ path , $ level , $ bubble = true ) { $ handler = new StreamHandler ( $ path , $ this -> parseLevel ( $ level ) , $ bubble ) ; $ handler -> setFormatter ( $ this -> getDefaultFormatter ( ) ) ; $ this -> logger -> pushHandler ( $ handler ) ; return $ this ; }
Create a neaw stream handler.

@param string $path
@param string $level
@param bool   $bubble

@return self
Create a neaw stream handler .