public function index(Request $request)
    {
        $logs = $this->service->get($request->all());
        $levels = $this->service->levels;
        $dates = $this->service->getLogDates();

        return view('admin.logs.index')
            ->with('dates', $dates)
            ->with('logs', $logs)
            ->with('levels', $levels);
    }
public function index(Request $request)
    {
        $logs = $this->service->get($request->all());
        $levels = $this->service->levels;
        $dates = $this->service->getLogDates();

        return view('admin.logs.index')
            ->with('dates', $dates)
            ->with('logs', $logs)
            ->with('levels', $levels);
    }
public function index ( Request $ request ) { $ logs = $ this -> service -> get ( $ request -> all ( ) ) ; $ levels = $ this -> service -> levels ; $ dates = $ this -> service -> getLogDates ( ) ; return view ( 'admin.logs.index' ) -> with ( 'dates' , $ dates ) -> with ( 'logs' , $ logs ) -> with ( 'levels' , $ levels ) ; }
Display a listing of the logs.

@return \Illuminate\Http\Response
Display a listing of the logs .