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:
Vinay Sajip 2006-10-31 17:34:31 +00:00
parent ef7f3bf3b3
commit 12411005e3
1 changed files with 3 additions and 0 deletions

View File

@ -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