parameters: (self)
docstring: Downloads the log file
docstring_summary: Downloads the log file
docstring_tokens: Downloads the log file
function: def download_logs(self):
          """
          Downloads the log file
          """
          if tools.config['logfile']:
              res = send_file(tools.config['logfile'], mimetype="text/plain", as_attachment=True)
              res.headers['Cache-Control'] = 'no-cache'
              return res
function_tokens: def download_logs ( self ) : if tools . config [ 'logfile' ] : res = send_file ( tools . config [ 'logfile' ] , mimetype = "text/plain" , as_attachment = True ) res . headers [ 'Cache-Control' ] = 'no-cache' return res