public function load($raw)
    {
        foreach (LogParser::parse($raw) as $entry) {
            list($level, $header, $stack) = array_values($entry);

            $this->push(new LogEntry($level, $header, $stack));
        }

        return $this;
    }
public function load($raw)
    {
        foreach (LogParser::parse($raw) as $entry) {
            list($level, $header, $stack) = array_values($entry);

            $this->push(new LogEntry($level, $header, $stack));
        }

        return $this;
    }
public function load ( $ raw ) { foreach ( LogParser :: parse ( $ raw ) as $ entry ) { list ( $ level , $ header , $ stack ) = array_values ( $ entry ) ; $ this -> push ( new LogEntry ( $ level , $ header , $ stack ) ) ; } return $ this ; }
Load raw log entries.

@param  string  $raw

@return self
Load raw log entries .