[issue32559] logging - public function to get level from name

Varun Agrawal report at bugs.python.org
Tue Jan 16 11:38:29 EST 2018


Varun Agrawal <varagrawal at gmail.com> added the comment:

The request is not to set the level but to get the level given the level name aka textual representation. For example, passing in INFO should return 20 and passing in CRITICAL should return 50.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32559>
_______________________________________


More information about the Python-bugs-list mailing list