]> granicus.if.org Git - python/commitdiff
Fixed sorting order of the LogRecord attributes in the documentation. (GH-4133)
authorArthur Darcet <arthur+github@darcet.fr>
Fri, 27 Oct 2017 07:06:20 +0000 (09:06 +0200)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 27 Oct 2017 07:06:20 +0000 (08:06 +0100)
Doc/library/logging.rst

index d2c6c90c41c74a85cc59af7245f0f2dfc8ed0a7b..148f131cac5ab0b965fb4abb95b4de21fbb5dc95 100644 (file)
@@ -779,15 +779,15 @@ the options available to you.
 | lineno         | ``%(lineno)d``          | Source line number where the logging call was |
 |                |                         | issued (if available).                        |
 +----------------+-------------------------+-----------------------------------------------+
+| message        | ``%(message)s``         | The logged message, computed as ``msg %       |
+|                |                         | args``. This is set when                      |
+|                |                         | :meth:`Formatter.format` is invoked.          |
++----------------+-------------------------+-----------------------------------------------+
 | module         | ``%(module)s``          | Module (name portion of ``filename``).        |
 +----------------+-------------------------+-----------------------------------------------+
 | msecs          | ``%(msecs)d``           | Millisecond portion of the time when the      |
 |                |                         | :class:`LogRecord` was created.               |
 +----------------+-------------------------+-----------------------------------------------+
-| message        | ``%(message)s``         | The logged message, computed as ``msg %       |
-|                |                         | args``. This is set when                      |
-|                |                         | :meth:`Formatter.format` is invoked.          |
-+----------------+-------------------------+-----------------------------------------------+
 | msg            | You shouldn't need to   | The format string passed in the original      |
 |                | format this yourself.   | logging call. Merged with ``args`` to         |
 |                |                         | produce ``message``, or an arbitrary object   |