diff --git a/websocket/_logging.py b/websocket/_logging.py index 9a6d73c..df8b139 100644 --- a/websocket/_logging.py +++ b/websocket/_logging.py @@ -62,3 +62,7 @@ def trace(msg): def isEnableForError(): return _logger.isEnableFor(logging.ERROR) + + +def isEnableForDebug(): + return _logger.isEnableFor(logging.DEBUG)