Skip to content

Commit

Permalink
More accurate logging documentation (Fixes #158)
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Feb 14, 2020
1 parent 7ca9697 commit 5260f5c
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion engineio/asyncio_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ class AsyncClient(client.Client):
:param logger: To enable logging set to ``True`` or pass a logger object to
use. To disable logging set to ``False``. The default is
``False``.
``False``. Note that fatal errors are logged even when
``logger`` is ``False``.
:param json: An alternative json module to use for encoding and decoding
packets. Custom json modules must have ``dumps`` and ``loads``
functions that are compatible with the standard library
Expand Down
3 changes: 2 additions & 1 deletion engineio/asyncio_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ class AsyncServer(server.Server):
:param cors_credentials: Whether credentials (cookies, authentication) are
allowed in requests to this server.
:param logger: To enable logging set to ``True`` or pass a logger object to
use. To disable logging set to ``False``.
use. To disable logging set to ``False``. Note that fatal
errors are logged even when ``logger`` is ``False``.
:param json: An alternative json module to use for encoding and decoding
packets. Custom json modules must have ``dumps`` and ``loads``
functions that are compatible with the standard library
Expand Down
3 changes: 2 additions & 1 deletion engineio/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ class Client(object):
:param logger: To enable logging set to ``True`` or pass a logger object to
use. To disable logging set to ``False``. The default is
``False``.
``False``. Note that fatal errors are logged even when
``logger`` is ``False``.
:param json: An alternative json module to use for encoding and decoding
packets. Custom json modules must have ``dumps`` and ``loads``
functions that are compatible with the standard library
Expand Down
3 changes: 2 additions & 1 deletion engineio/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ class Server(object):
is ``True``.
:param logger: To enable logging set to ``True`` or pass a logger object to
use. To disable logging set to ``False``. The default is
``False``.
``False``. Note that fatal errors are logged even when
``logger`` is ``False``.
:param json: An alternative json module to use for encoding and decoding
packets. Custom json modules must have ``dumps`` and ``loads``
functions that are compatible with the standard library
Expand Down

0 comments on commit 5260f5c

Please sign in to comment.