From 980c8e6ee4096783c0baa27bfe7b3c0d17b49d78 Mon Sep 17 00:00:00 2001 From: Snowykami <79104275+snowykami@users.noreply.github.com> Date: Wed, 27 Mar 2024 07:13:42 +0800 Subject: [PATCH] update: log.py --- liteyuki/utils/log.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/liteyuki/utils/log.py b/liteyuki/utils/log.py index a2d43c19..e6c2bbbd 100644 --- a/liteyuki/utils/log.py +++ b/liteyuki/utils/log.py @@ -20,7 +20,7 @@ def default_filter(record: "Record"): # DEBUG日志格式 debug_format: str = ( - "{time:YYYY-MM-DD} {time:HH:mm:ss} " + "{time:YYYY-MM-DD HH:mm:ss} " "[{level.icon}] " "<{name}.{module}.{function}:{line}> " "{message}" @@ -28,7 +28,7 @@ debug_format: str = ( # 默认日志格式 default_format: str = ( - "{time:MM-DD} {time:HH:mm:ss} " + "{time:MM-DD HH:mm:ss} " "[{level.icon}] " "<{name}> " "{message}"