From dbb4a21931cd10a3caed3c446af0fe06de9873b1 Mon Sep 17 00:00:00 2001 From: saturneric Date: Tue, 30 Jul 2024 20:42:12 +0200 Subject: feat: simplify logging --- src/core/thread/TaskRunner.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/thread/TaskRunner.cpp') diff --git a/src/core/thread/TaskRunner.cpp b/src/core/thread/TaskRunner.cpp index abf7b8dc..c7d92382 100644 --- a/src/core/thread/TaskRunner.cpp +++ b/src/core/thread/TaskRunner.cpp @@ -38,7 +38,7 @@ class TaskRunner::Impl : public QThread { void PostTask(Task* task) { if (task == nullptr) { - qCWarning(core, "task posted is null"); + FLOG_W("task posted is null"); return; } @@ -73,7 +73,7 @@ class TaskRunner::Impl : public QThread { void PostConcurrentTask(Task* task) { if (task == nullptr) { - qCWarning(core, "task posted is null"); + FLOG_W("task posted is null"); return; } -- cgit v1.2.3