[docs] [issue19902] logging docs don't document integer constants

follower report at bugs.python.org
Fri Dec 6 00:16:32 CET 2013

New submission from follower:

The logging module documentation <http://docs.python.org/3.4/library/logging.html> makes reference to the levels DEBUG, INFO etc (e.g. in <http://docs.python.org/3.4/library/logging.html#logging.Logger.setLevel>) but AFAICT these constants are not documented in the module itself.

e.g I would expect a section like this

Level Constants
logging.DEBUG 10
logging.INFO  20
etc etc

(Although the actual values may not be listed depending on what your policy is for documenting "magic numbers".)

assignee: docs at python
components: Documentation
messages: 205334
nosy: docs at python, follower
priority: normal
severity: normal
status: open
title: logging docs don't document integer constants
type: enhancement
versions: Python 2.7, Python 3.5

Python tracker <report at bugs.python.org>

More information about the docs mailing list