public function clear($date, RequestListener $listener)
    {
        app('antares.logger')->setOld(['name' => app('logger.filesystem')->getLogFilename($date)])->keep('high');
        if (app('logger.filesystem')->delete($date)) {
            return $listener->clearSuccess();
        }
        return $listener->clearFailed();
    }
public function clear($date, RequestListener $listener)
    {
        app('antares.logger')->setOld(['name' => app('logger.filesystem')->getLogFilename($date)])->keep('high');
        if (app('logger.filesystem')->delete($date)) {
            return $listener->clearSuccess();
        }
        return $listener->clearFailed();
    }
public function clear ( $ date , RequestListener $ listener ) { app ( 'antares.logger' ) -> setOld ( [ 'name' => app ( 'logger.filesystem' ) -> getLogFilename ( $ date ) ] ) -> keep ( 'high' ) ; if ( app ( 'logger.filesystem' ) -> delete ( $ date ) ) { return $ listener -> clearSuccess ( ) ; } return $ listener -> clearFailed ( ) ; }
on clear request log

@param String $date
@param RequestListener $listener
@return \Illuminate\Http\RedirectResponse
on clear request log