mirror of https://github.com/python/cpython
Added relativeCreated to Formatter doc (has been in the system for a long time - was unaccountably left out of the docs and not noticed until now).
This commit is contained in:
parent
ef7f3bf3b3
commit
12411005e3
|
@ -1397,6 +1397,9 @@ Currently, the useful mapping keys in a \class{LogRecord} are:
|
||||||
(if available).}
|
(if available).}
|
||||||
\lineii{\%(created)f} {Time when the \class{LogRecord} was created (as
|
\lineii{\%(created)f} {Time when the \class{LogRecord} was created (as
|
||||||
returned by \function{time.time()}).}
|
returned by \function{time.time()}).}
|
||||||
|
\lineii{\%(relativeCreated)d} {Time in milliseconds when the LogRecord was
|
||||||
|
created, relative to the time the logging module was
|
||||||
|
loaded.}
|
||||||
\lineii{\%(asctime)s} {Human-readable time when the \class{LogRecord}
|
\lineii{\%(asctime)s} {Human-readable time when the \class{LogRecord}
|
||||||
was created. By default this is of the form
|
was created. By default this is of the form
|
||||||
``2003-07-08 16:49:45,896'' (the numbers after the
|
``2003-07-08 16:49:45,896'' (the numbers after the
|
||||||
|
|
Loading…
Reference in New Issue