Skip to content

Commit 49d85c8

Browse files
committed
Add exc_text to LogRecord attributes table
1 parent c6d4c79 commit 49d85c8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Doc/library/logging.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1011,6 +1011,11 @@ the options available to you.
10111011
| exc_info | You shouldn't need to | Exception tuple (à la ``sys.exc_info``) or, |
10121012
| | format this yourself. | if no exception has occurred, ``None``. |
10131013
+----------------+-------------------------+-----------------------------------------------+
1014+
| exc_text | You shouldn't need to | Cached formatted exception information. This |
1015+
| | format this yourself. | is set when :meth:`Formatter.formatException` |
1016+
| | | is called, or ``None`` if no exception has |
1017+
| | | occurred. |
1018+
+----------------+-------------------------+-----------------------------------------------+
10141019
| filename | ``%(filename)s`` | Filename portion of ``pathname``. |
10151020
+----------------+-------------------------+-----------------------------------------------+
10161021
| funcName | ``%(funcName)s`` | Name of function containing the logging call. |

0 commit comments

Comments
 (0)