summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2011-06-11 22:04:35 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2011-06-11 22:04:35 (GMT)
commit95ebf0ef0096aba265ec32d706d1b0e4d9ed5328 (patch)
tree1da84ef0727768d7bac55f5c01536ce1ff96526c
parent722954a3d3a773663d497c69bd2f1f91773b4356 (diff)
parent0aaa9e1d7b16e92c0cbe9e40c037c38ba0427840 (diff)
downloadcpython-95ebf0ef0096aba265ec32d706d1b0e4d9ed5328.zip
cpython-95ebf0ef0096aba265ec32d706d1b0e4d9ed5328.tar.gz
cpython-95ebf0ef0096aba265ec32d706d1b0e4d9ed5328.tar.bz2
Merged documentation update for issue #12206.
-rw-r--r--Doc/library/logging.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index 62f04d8..5df0805 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -556,6 +556,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