Skip to content

Commit d5d3fd4

Browse files
author
Tony Crisci
committed
document debug logging
1 parent 2e4d3ce commit d5d3fd4

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.rst

+11
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,17 @@ Support for asyncio is included in the ``i3ipc.aio`` package. The interface is s
109109
110110
asyncio.get_event_loop().run_until_complete(main())
111111
112+
Debug Logging
113+
-------------
114+
115+
i3ipc-python uses the standard logging module under the `i3ipc` namespace.
116+
117+
.. code:: python3
118+
119+
import logging
120+
logging.basicConfig(level=logging.DEBUG)
121+
122+
112123
Contributing
113124
------------
114125

0 commit comments

Comments
 (0)