mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PY-18029 Add explanation for enable_thrift_logging() method
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user