From 2ccf74dd35be8b1682ca6571cc47656dfa6b80de Mon Sep 17 00:00:00 2001 From: chenhongtao Date: Mon, 4 Sep 2023 15:09:34 +0800 Subject: [PATCH] chore: support qCDebug Log: --- frame/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();