aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/GFDataExchanger.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/model/GFDataExchanger.cpp')
-rw-r--r--src/core/model/GFDataExchanger.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/model/GFDataExchanger.cpp b/src/core/model/GFDataExchanger.cpp
index c2aca929..70a6498e 100644
--- a/src/core/model/GFDataExchanger.cpp
+++ b/src/core/model/GFDataExchanger.cpp
@@ -28,6 +28,8 @@
#include "GFDataExchanger.h"
+#include "core/utils/LogUtils.h"
+
namespace GpgFrontend {
auto GFDataExchanger::Write(const std::byte* buffer, size_t size) -> ssize_t {
@@ -47,7 +49,7 @@ auto GFDataExchanger::Write(const std::byte* buffer, size_t size) -> ssize_t {
write_bytes++;
}
} catch (...) {
- SPDLOG_ERROR(
+ GF_CORE_LOG_ERROR(
"gf data exchanger caught exception when it writes to queue, abort...");
}