mirror of https://github.com/python/cpython.git
Issue #12206: documentation for LogRecord constructor updated re. the level argument.
This commit is contained in:
parent
9620cc0463
commit
0aaa9e1d7b
|
@ -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…
Reference in New Issue