public function actionLogs()
    {
        $searchModel = new LogSearch();
        return $this->render('logs', [
            'dataProvider' => $searchModel->search(Yii::$app->request->get()),
            'searchModel' => $searchModel,
        ]);
    }
public function actionLogs()
    {
        $searchModel = new LogSearch();
        return $this->render('logs', [
            'dataProvider' => $searchModel->search(Yii::$app->request->get()),
            'searchModel' => $searchModel,
        ]);
    }
public function actionLogs ( ) { $ searchModel = new LogSearch ( ) ; return $ this -> render ( 'logs' , [ 'dataProvider' => $ searchModel -> search ( Yii :: $ app -> request -> get ( ) ) , 'searchModel' => $ searchModel , ] ) ; }
Listing the logs.
@return string
Listing the logs .