New submission from R. David Murray:

https://docs.python.org/3/library/logging.html#logging.Logger.getEffectiveLevel

This says the logging level is returned, but it doesn't mention that what is 
returned is an integer, nor does it link to whatever method is needed to 
convert the integer return value into the symbolic name that the user has been 
using elsewhere in interacting with logging.  Indeed, the section that shows 
the mapping between names and numbers implies that the user of the library 
never needs to worry about the numbers unless they are creating a new level, 
but if they want to use getEffectiveLevel, this is not true.

----------
assignee: docs@python
components: Documentation
messages: 227047
nosy: docs@python, r.david.murray, vinay.sajip
priority: normal
severity: normal
status: open
title: logging geteffectivelevel does not document its return value
type: behavior
versions: Python 2.7, Python 3.4, Python 3.5

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22436>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to