Issue #12206: documentation for LogRecord constructor updated re. the level argument.

This commit is contained in:
Vinay Sajip 2011-06-11 23:03:37 +01:00
parent 9620cc0463
commit 0aaa9e1d7b
1 changed files with 3 additions and 0 deletions

View File

@ -544,6 +544,9 @@ wire).
:param name: The name of the logger used to log the event represented by
this LogRecord.
:param level: The numeric level of the logging event (one of DEBUG, INFO etc.)
Note that this is converted to *two* attributes of the LogRecord:
``levelno`` for the numeric value and ``levelname`` for the
corresponding level name.
:param pathname: The full pathname of the source file where the logging call
was made.
:param lineno: The line number in the source file where the logging call was