PY-18029 Add explanation for enable_thrift_logging() method

This commit is contained in:
Alexander Koshevoy
2018-08-22 23:16:40 +03:00
parent 6d50c5978b
commit b65b8f1798
+4
View File
@@ -248,6 +248,10 @@ def do_exit(*args):
def enable_thrift_logging():
"""Sets up `thriftpy` logger
The logger is used in `thriftpy/server.py` for logging exceptions.
"""
import logging
# create logger