summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorArthur Darcet <arthur+github@darcet.fr>2017-10-27 07:06:20 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2017-10-27 07:06:20 (GMT)
commit2f3d6993d7ca4a4d218e0d63b126c94bc00a03b8 (patch)
treef5aa50e746d8b3af16e317140e45d50edd96cc7e /Doc
parentafad147b59fe84b12317f7340ddd2deeecb22321 (diff)
downloadcpython-2f3d6993d7ca4a4d218e0d63b126c94bc00a03b8.zip
cpython-2f3d6993d7ca4a4d218e0d63b126c94bc00a03b8.tar.gz
cpython-2f3d6993d7ca4a4d218e0d63b126c94bc00a03b8.tar.bz2
Fixed sorting order of the LogRecord attributes in the documentation. (GH-4133)
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/logging.rst8
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/logging.rst b/Doc/library/logging.rst
index d2c6c90..148f131 100644
--- a/Doc/library/logging.rst
+++ b/Doc/library/logging.rst
@@ -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 |