Message23358
Python version: 2.3.3
I found the following problems in the standard logging
module's documentation:
1. It is not mentioned that subclasses of LogRecord
need to have a getMessage method
(http://docs.python.org/lib/node295.html). Instead it is
stated that "LogRecord has no methods"!
2. Level values are not documented (which hinders the
addition of new levels that need to have a certain
relation to the severity of existing levels), nor is the
fact that adding a level with the same numeric value as
an existing one overrides it.
3. The documentation states that "When a logger is
created, the level is set to NOTSET"
(http://docs.python.org/lib/node281.html), where in
fact it is WARNING.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:27:52 | admin | link | issue1074693 messages |
2007-08-23 14:27:52 | admin | create | |
|