src/Log/Factory.php
public function make($date, $level = 'all')
    {
        $raw = $this->filesystem->read($date);
        $levels = $this->levels;

        return new Log($raw, $levels, $level);
    }
public function make($date, $level = 'all')
    {
        $raw = $this->filesystem->read($date);
        $levels = $this->levels;

        return new Log($raw, $levels, $level);
    }
public function make ( $ date , $ level = 'all' ) { $ raw = $ this -> filesystem -> read ( $ date ) ; $ levels = $ this -> levels ; return new Log ( $ raw , $ levels , $ level ) ; }
Get the log instance.

@param string $date
@param string $level

@return \GrahamCampbell\LogViewer\Log\Log
Get the log instance .