Logger: Switch to ISO timestamp formatting
I thought this was previously enabled, but turns out I labeled with the wrong date format. Signed-off-by: kingbri <8082010+kingbri1@users.noreply.github.com>
This commit is contained in:
parent
d6b8c7db4b
commit
48bb78c614
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ def _log_formatter(record: dict):
|
|||
}
|
||||
|
||||
time = record.get("time")
|
||||
colored_time = f"[grey37]{time:YYYY-DD-MM HH:mm:ss.SSS}[/grey37]"
|
||||
colored_time = f"[grey37]{time:YYYY-MM-DD HH:mm:ss.SSS}[/grey37]"
|
||||
|
||||
level = record.get("level")
|
||||
level_color = color_map.get(level.name, "cyan")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue