def formatTime (self, record, datefmt=None):
        """Return the creation time of the specified LogRecord as formatted
        text."""
        if datefmt is None:
            datefmt = '%Y-%m-%d %H:%M:%S'

        ct = self.converter(record.created)
        t  = time.strftime(datefmt, ct)
        s  = '%s.%03d' % (t, record.msecs)

        return s