Tornado 4.5 Documentation
Utilities tornado.autoreload — Automatically detect code changes in development tornado.log — Logging support tornado.options — Command-line parsing tornado.stack_context — Exception handling across URLs.' % ( time.time() - start, len(fetched))) if __name__ == '__main__': import logging logging.basicConfig() io_loop = ioloop.IOLoop.current() io_loop.run_sync(main) Structure of RequestHandler.on_finish() Called after the end of a request. Override this method to perform cleanup, logging, etc. This method is a counterpart to prepare. on_finish may not produce any output, as it is called0 码力 | 333 页 | 322.34 KB | 1 年前3
Tornado 6.1 Documentation
Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing — Unit testing support for asynchronous on_finish() → None[source] Called after the end of a request. Override this method to perform cleanup, logging, etc. This method is a counterpart to prepare. on_finish may not produce any output, as it is called value: Optional[BaseException], tb: Optional[traceback]) → None[source] Override to customize logging of uncaught exceptions. By default logs instances of HTTPError as warnings without stack traces0 码力 | 931 页 | 708.03 KB | 1 年前3
Tornado 6.5 DocumentationAutomatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing — Unit testing support for asynchronous org/3/library/constants.html#None] Called after the end of a request.Override this method to perform cleanup, logging, etc. This method is primarily intended as a counterpart to prepare. However, there are a few error html#None]) → None [https://docs.python.org/3/library/constants.html#None] Override to customize logging of uncaught exceptions. By default logs instances of HTTPError as warnings without stack traces0 码力 | 437 页 | 405.14 KB | 3 月前3
Tornado 5.1 Documentation
Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.stack_context — Exception handling across RequestHandler.on_finish() Called after the end of a request. Override this method to perform cleanup, logging, etc. This method is a counterpart to prepare. on_finish may not produce any output, as it is called the Accept-Language header. RequestHandler.log_exception(typ, value, tb) Override to customize logging of uncaught exceptions. By default logs instances of HTTPError as warnings without stack traces0 码力 | 359 页 | 347.32 KB | 1 年前3
Tornado 6.2 Documentation
Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing — Unit testing support for asynchronous org/3/library/constants.html#None] Called after the end of a request. Override this method to perform cleanup, logging, etc. This method is a counterpart to prepare. on_finish may not produce any output, as it is called TracebackType]]) → None [https://docs.python.org/3/library/constants.html#None] Override to customize logging of uncaught exceptions. By default logs instances of HTTPError as warnings without stack traces0 码力 | 407 页 | 385.03 KB | 1 年前3
Tornado 6.0 Documentation
Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing — Unit testing support for asynchronous on_finish() → None[source] Called after the end of a request. Override this method to perform cleanup, logging, etc. This method is a counterpart to prepare. on_finish may not produce any output, as it is called value: Optional[BaseException], tb: Optional[traceback]) → None[source] Override to customize logging of uncaught exceptions. By default logs instances of HTTPError as warnings without stack traces0 码力 | 869 页 | 692.83 KB | 1 年前3
Tornado 6.4 Documentation
Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing — Unit testing support for asynchronous org/3/library/constants.html#None] Called after the end of a request. Override this method to perform cleanup, logging, etc. This method is a counterpart to prepare. on_finish may not produce any output, as it is called TracebackType]]) → None [https://docs.python.org/3/library/constants.html#None] Override to customize logging of uncaught exceptions. By default logs instances of HTTPError as warnings without stack traces0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing — Unit testing support for asynchronous org/3/library/constants.html#None] Called after the end of a request. Override this method to perform cleanup, logging, etc. This method is a counterpart to prepare. on_finish may not produce any output, as it is called TracebackType]]) → None [https://docs.python.org/3/library/constants.html#None] Override to customize logging of uncaught exceptions. By default logs instances of HTTPError as warnings without stack traces0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.4 Documentation
Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing — Unit testing support for asynchronous org/3/library/constants.html#None] Called after the end of a request. Override this method to perform cleanup, logging, etc. This method is a counterpart to prepare. on_finish may not produce any output, as it is called TracebackType]]) → None [https://docs.python.org/3/library/constants.html#None] Override to customize logging of uncaught exceptions. By default logs instances of HTTPError as warnings without stack traces0 码力 | 432 页 | 402.58 KB | 1 年前3
Tornado 6.3 Documentation
Automatically detect code changes in development tornado.concurrent — Work with Future objects tornado.log — Logging support tornado.options — Command-line parsing tornado.testing — Unit testing support for asynchronous org/3/library/constants.html#None] Called after the end of a request. Override this method to perform cleanup, logging, etc. This method is a counterpart to prepare. on_finish may not produce any output, as it is called TracebackType]]) → None [https://docs.python.org/3/library/constants.html#None] Override to customize logging of uncaught exceptions. By default logs instances of HTTPError as warnings without stack traces0 码力 | 423 页 | 398.18 KB | 1 年前3
共 20 条
- 1
- 2













