diff --git a/frame/main.cpp b/frame/main.cpp index 1f08738a1..7ade34955 100644 --- a/frame/main.cpp +++ b/frame/main.cpp @@ -174,7 +174,7 @@ int main(int argc, char *argv[]) app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); // 设置日志输出到控制台以及文件 - DLogManager::setLogFormat("%{time}{yyyyMMdd.HH:mm:ss.zzz}[%{type:1}][%{function:-35} %{line:-4}] %{message}"); + DLogManager::setLogFormat("%{time}{yyMMdd.HH:mm:ss.zzz}[%{type:1}] [%{category}] [%{function:-25} %{line:-4}] %{message}"); DLogManager::registerConsoleAppender(); DLogManager::registerFileAppender();