code: def formatTime(self, record, datefmt=None):
          
          _seconds_fraction = record.created - int(record.created)
          _datetime_utc = time.mktime(time.gmtime(record.created))
          _datetime_utc += _seconds_fraction
          _created = self.converter(_datetime_utc)
  
          if datefmt:
              time_string = _created.strftime(datefmt)
          else:
              time_string = _created.strftime('%Y-%m-%dT%H:%M:%S.%fZ')
              time_string = "%s,%03d" % (time_string, record.msecs)
          return time_string
docs: Format the log timestamp.