Closed HenryDashwood closed 3 months ago
This might fix #12?
The changes are:
Create this method:
def format_time(self, record): if self.formatter: return self.formatter.formatTime(record) else: # Fallback to a basic time format if no formatter is set return time.strftime("%Y-%m-%d %H:%M:%S")
and replace this line:
dateTime = record.asctime
with
dateTime = self.format_time(record)
This might fix #12?
The changes are:
Create this method:
and replace this line:
with