src/Library/Logger.php
protected function write($line, $level = 100)
    {
        $logfile = $this->getFilePath($level);
        $rotator = $this->getRotator($logfile);
        $return = $rotator->write($line);

        if ($this->isErrorLevel($level) && true===$this->duplicate_errors)
            self::write($line, 100);

        return $return;
    }
protected function write($line, $level = 100)
    {
        $logfile = $this->getFilePath($level);
        $rotator = $this->getRotator($logfile);
        $return = $rotator->write($line);

        if ($this->isErrorLevel($level) && true===$this->duplicate_errors)
            self::write($line, 100);

        return $return;
    }
protected function write ( $ line , $ level = 100 ) { $ logfile = $ this -> getFilePath ( $ level ) ; $ rotator = $ this -> getRotator ( $ logfile ) ; $ return = $ rotator -> write ( $ line ) ; if ( $ this -> isErrorLevel ( $ level ) && true === $ this -> duplicate_errors ) self :: write ( $ line , 100 ) ; return $ return ; }
Write a new line in the logfile

@param   string  $line   The formated line to write in log file
@param   int     $level  The level of the current log info (default is 100)
@return  bool
Write a new line in the logfile