Browse Source

Update errorhandling.rst (#2075)

Fix LogRecord class reference.
pull/2076/head
Tery Lim 8 years ago committed by David Lord
parent
commit
ec9717502f
  1. 5
      docs/errorhandling.rst

5
docs/errorhandling.rst

@ -276,8 +276,9 @@ that this list is not complete, consult the official documentation of the
| ``%(lineno)d`` | Source line number where the logging call was |
| | issued (if available). |
+------------------+----------------------------------------------------+
| ``%(asctime)s`` | Human-readable time when the LogRecord` was |
| | created. By default this is of the form |
| ``%(asctime)s`` | Human-readable time when the |
| | :class:`~logging.LogRecord` was created. |
| | By default this is of the form |
| | ``"2003-07-08 16:49:45,896"`` (the numbers after |
| | the comma are millisecond portion of the time). |
| | This can be changed by subclassing the formatter |

Loading…
Cancel
Save