mirror of
https://github.com/python/cpython.git
synced 2024-12-03 06:46:01 +08:00
Fixed sorting order of the LogRecord attributes in the documentation. (GH-4133)
This commit is contained in:
parent
afad147b59
commit
2f3d6993d7
@ -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 |
|
||||
|
Loading…
Reference in New Issue
Block a user