Skip to content

Commit 2f3d699

Browse files
arthurdarcetvsajip
authored andcommitted
Fixed sorting order of the LogRecord attributes in the documentation. (GH-4133)
1 parent afad147 commit 2f3d699

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/logging.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -779,15 +779,15 @@ the options available to you.
779779
| lineno | ``%(lineno)d`` | Source line number where the logging call was |
780780
| | | issued (if available). |
781781
+----------------+-------------------------+-----------------------------------------------+
782+
| message | ``%(message)s`` | The logged message, computed as ``msg % |
783+
| | | args``. This is set when |
784+
| | | :meth:`Formatter.format` is invoked. |
785+
+----------------+-------------------------+-----------------------------------------------+
782786
| module | ``%(module)s`` | Module (name portion of ``filename``). |
783787
+----------------+-------------------------+-----------------------------------------------+
784788
| msecs | ``%(msecs)d`` | Millisecond portion of the time when the |
785789
| | | :class:`LogRecord` was created. |
786790
+----------------+-------------------------+-----------------------------------------------+
787-
| message | ``%(message)s`` | The logged message, computed as ``msg % |
788-
| | | args``. This is set when |
789-
| | | :meth:`Formatter.format` is invoked. |
790-
+----------------+-------------------------+-----------------------------------------------+
791791
| msg | You shouldn't need to | The format string passed in the original |
792792
| | format this yourself. | logging call. Merged with ``args`` to |
793793
| | | produce ``message``, or an arbitrary object |

0 commit comments

Comments
 (0)