Skip to content

Commit

Permalink
More accurate logging documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Feb 14, 2020
1 parent 4bf6eaf commit 255d3d6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions flask_socketio/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ class SocketIO(object):
explicitly.
: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 will be logged even when
``logger`` is ``False``.
:param binary: ``True`` to support binary payloads, ``False`` to treat all
payloads as text. On Python 2, if this is set to ``True``,
``unicode`` values are treated as text, and ``str`` and
Expand Down Expand Up @@ -163,7 +164,9 @@ class SocketIO(object):
default is ``True``.
:param engineio_logger: To enable Engine.IO logging set to ``True`` or pass
a logger object to use. To disable logging set to
``False``. The default is ``False``.
``False``. The default is ``False``. Note that
fatal errors are logged even when
``engineio_logger`` is ``False``.
"""

def __init__(self, app=None, **kwargs):
Expand Down

0 comments on commit 255d3d6

Please sign in to comment.