]> granicus.if.org Git - python/commitdiff
Added relativeCreated to Formatter doc (has been in the system for a long time -...
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 31 Oct 2006 17:34:31 +0000 (17:34 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 31 Oct 2006 17:34:31 +0000 (17:34 +0000)
Doc/lib/liblogging.tex

index e7756e673edc2dd03d20d077c965cb49d61dbf27..e01fe0beb7288b041eb434f27d313b7b735323aa 100644 (file)
@@ -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