mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-140717: Add exc_text to LogRecord attributes table (GH-140718)
This commit is contained in:
parent
7c44f37170
commit
84b7e6970f
1 changed files with 5 additions and 0 deletions
|
|
@ -1011,6 +1011,11 @@ the options available to you.
|
|||
| exc_info | You shouldn't need to | Exception tuple (à la ``sys.exc_info``) or, |
|
||||
| | format this yourself. | if no exception has occurred, ``None``. |
|
||||
+----------------+-------------------------+-----------------------------------------------+
|
||||
| exc_text | You shouldn't need to | Exception information formatted as a string. |
|
||||
| | format this yourself. | This is set when :meth:`Formatter.format` is |
|
||||
| | | invoked, or ``None`` if no exception has |
|
||||
| | | occurred. |
|
||||
+----------------+-------------------------+-----------------------------------------------+
|
||||
| filename | ``%(filename)s`` | Filename portion of ``pathname``. |
|
||||
+----------------+-------------------------+-----------------------------------------------+
|
||||
| funcName | ``%(funcName)s`` | Name of function containing the logging call. |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue