Message227047
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. |
|
Date |
User |
Action |
Args |
2014-09-18 14:26:28 | r.david.murray | set | recipients:
+ r.david.murray, vinay.sajip, docs@python |
2014-09-18 14:26:28 | r.david.murray | set | messageid: <1411050388.19.0.961403060223.issue22436@psf.upfronthosting.co.za> |
2014-09-18 14:26:28 | r.david.murray | link | issue22436 messages |
2014-09-18 14:26:27 | r.david.murray | create | |
|