chore: support qCDebug

Log:
This commit is contained in:
chenhongtao 2023-09-04 15:09:34 +08:00 committed by Access
parent 41d27c5ad7
commit 2ccf74dd35

View File

@ -174,7 +174,7 @@ int main(int argc, char *argv[])
app.setAttribute(Qt::AA_UseHighDpiPixmaps, true); 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::registerConsoleAppender();
DLogManager::registerFileAppender(); DLogManager::registerFileAppender();