summaryrefslogtreecommitdiff
path: root/Doc/library/asyncio-dev.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/asyncio-dev.rst')
-rw-r--r--Doc/library/asyncio-dev.rst17
1 files changed, 11 insertions, 6 deletions
diff --git a/Doc/library/asyncio-dev.rst b/Doc/library/asyncio-dev.rst
index 73cc38a830..868e3f884a 100644
--- a/Doc/library/asyncio-dev.rst
+++ b/Doc/library/asyncio-dev.rst
@@ -7,6 +7,8 @@ Asynchronous programming is different than classical "sequential" programming.
This page lists common traps and explains how to avoid them.
+.. _asyncio-handle-blocking:
+
Handle correctly blocking functions
-----------------------------------
@@ -21,17 +23,20 @@ An executor can be used to run a task in a different thread or even in a
different process, to not block the thread of the event loop. See the
:func:`BaseEventLoop.run_in_executor` function.
+.. seealso::
-.. _asyncio-logger:
+ The :ref:`Delayed calls <asyncio-delayed-calls>` section details how the
+ event loop handles time.
-Logger
-------
-.. data:: asyncio.logger.log
+.. _asyncio-logger:
+
+Logging
+-------
- :class:`logging.Logger` instance used by :mod:`asyncio` to log messages.
+The :mod:`asyncio` module logs information with the :mod:`logging` module in
+the logger ``'asyncio'``.
-The logger name is ``'asyncio'``.
.. _asyncio-coroutine-not-scheduled: