Пример #1
0
 def format_time(self, record: logging.LogRecord):
     record.db_time_dt = datetime.datetime.fromtimestamp(record.created)