[Python-checkins] cpython (merge 3.2 -> default): Merged documentation update for issue #12206.

vinay.sajip python-checkins at python.org
Sun Jun 12 00:04:43 CEST 2011


http://hg.python.org/cpython/rev/596adf14914c
changeset: 70804:596adf14914c
parent: 70802:43605330864b
parent: 70803:bb6fe43191c0
user: Vinay Sajip <vinay_sajip at yahoo.co.uk>
date: Sat Jun 11 23:04:35 2011 +0100
summary:
 Merged documentation update for issue #12206.
files:
 Doc/library/logging.rst | 3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -556,6 +556,9 @@
 :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
-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /