diff options
author | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2006-10-31 17:34:31 (GMT) |
---|---|---|
committer | Vinay Sajip <vinay_sajip@yahoo.co.uk> | 2006-10-31 17:34:31 (GMT) |
commit | 12411005e313bbf6962255439a0a18b88bf18ccc (patch) | |
tree | 31ff4d71fdb9ab1afffa476786982d61ed878dd3 /Doc/lib/liblogging.tex | |
parent | ef7f3bf3b306cf8702496cb8ac2c7afdcf1b2fdb (diff) | |
download | cpython-12411005e313bbf6962255439a0a18b88bf18ccc.zip cpython-12411005e313bbf6962255439a0a18b88bf18ccc.tar.gz cpython-12411005e313bbf6962255439a0a18b88bf18ccc.tar.bz2 |
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).
Diffstat (limited to 'Doc/lib/liblogging.tex')
-rw-r--r-- | Doc/lib/liblogging.tex | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index e7756e6..e01fe0b 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 |