src/Summary.php
public function log($log)
    {
        $type = $log->type();
        if (!isset($this->_logs[$type])) {
            $this->_logs[$type] = [];
        }
        $this->_logs[$type][] = $log;
        return $this;
    }
public function log($log)
    {
        $type = $log->type();
        if (!isset($this->_logs[$type])) {
            $this->_logs[$type] = [];
        }
        $this->_logs[$type][] = $log;
        return $this;
    }
public function log ( $ log ) { $ type = $ log -> type ( ) ; if ( ! isset ( $ this -> _logs [ $ type ] ) ) { $ this -> _logs [ $ type ] = [ ] ; } $ this -> _logs [ $ type ] [ ] = $ log ; return $ this ; }
Ingest a log.

@param  array $log The log report.
@return self
Ingest a log .