public function download($filename)
    {
        return $this->response->withFile($this->getPath($filename, false), ['download' => true]);
    }
public function download($filename)
    {
        return $this->response->withFile($this->getPath($filename, false), ['download' => true]);
    }
public function download ( $ filename ) { return $ this -> response -> withFile ( $ this -> getPath ( $ filename , false ) , [ 'download' => true ] ) ; }
Downloads a log
@param string $filename Log filename
@return \Cake\Network\Response
@uses getPath()
Downloads a log