From: Vinay Sajip Date: Tue, 31 Oct 2006 17:34:31 +0000 (+0000) Subject: Added relativeCreated to Formatter doc (has been in the system for a long time -... X-Git-Tag: v2.6a1~2470 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12411005e313bbf6962255439a0a18b88bf18ccc;p=python 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). --- diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index e7756e673e..e01fe0beb7 100644 --- a/Doc/lib/liblogging.tex +++ b/Doc/lib/liblogging.tex @@ -1397,6 +1397,9 @@ Currently, the useful mapping keys in a \class{LogRecord} are: (if available).} \lineii{\%(created)f} {Time when the \class{LogRecord} was created (as 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} was created. By default this is of the form ``2003-07-08 16:49:45,896'' (the numbers after the