changeset: 70804:596adf14914c parent: 70802:43605330864b parent: 70803:bb6fe43191c0 user: Vinay Sajip date: Sat Jun 11 23:04:35 2011 +0100 files: Doc/library/logging.rst description: Merged documentation update for issue #12206. diff -r 43605330864b -r 596adf14914c Doc/library/logging.rst --- a/Doc/library/logging.rst Sat Jun 11 16:33:35 2011 -0500 +++ b/Doc/library/logging.rst Sat Jun 11 23:04:35 2011 +0100 @@ -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