mirror of
https://github.com/python/cpython.git
synced 2025-10-28 09:10:36 +00:00
Issue #12206: documentation for LogRecord constructor updated re. the level argument.
This commit is contained in:
parent
9620cc0463
commit
0aaa9e1d7b
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue