Lines Matching refs:time
26 import sys, os, time, io, re, traceback, warnings, weakref, collections.abc
56 #_startTime is used as the base when calculating the relative time of events
58 _startTime = time.time()
284 LogRecord instances are created every time something is logged. They
297 ct = time.time()
560 %(created)f Time when the LogRecord was created (time.time()
562 %(asctime)s Textual time when the LogRecord was created
563 %(msecs)d Millisecond portion of the creation time
565 relative to the time the logging module was loaded
566 (typically at application startup time)
574 converter = time.localtime
608 Return the creation time of the specified LogRecord as formatted text.
611 wants to make use of a formatted time. This method can be overridden
614 it is used with time.strftime() to format the creation time of the
617 function to convert the creation time to a tuple. By default,
618 time.localtime() is used; to change this for a particular formatter
620 signature as time.localtime() or time.gmtime(). To change it for all
626 s = time.strftime(datefmt, ct)
628 s = time.strftime(self.default_time_format, ct)
654 Check if the format uses the creation time of the record.
683 time (as determined by a call to usesTime(), formatTime() is
684 called to format the event time. If there is exception information,
1241 sys.stderr at handler construction time.
1974 datefmt Use the specified date/time format.