/** * Load all logs. * * @return \Arcanedev\LogViewer\Entities\LogCollection */ private function load() { foreach ($this->filesystem->dates(true) as $date => $path) { $log = Log::make($date, $path, $this->filesystem->read($date)); $this->put($date, $log); } return $this; }