From e16e15db09d89a997db73e313b966f95e6c59f56 Mon Sep 17 00:00:00 2001 From: saturneric Date: Fri, 22 Nov 2024 23:06:30 +0100 Subject: feat: rewrite core init processes and add env option --- src/core/function/basic/ChannelObject.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/core/function/basic/ChannelObject.cpp') diff --git a/src/core/function/basic/ChannelObject.cpp b/src/core/function/basic/ChannelObject.cpp index 15767b93..39a5568b 100644 --- a/src/core/function/basic/ChannelObject.cpp +++ b/src/core/function/basic/ChannelObject.cpp @@ -39,10 +39,7 @@ ChannelObject::ChannelObject(int channel, QString type) #ifdef DEBUG ChannelObject::~ChannelObject() noexcept { - // using iostream instead of log bacause at this time log object may have - // already been destroyed. - QTextStream(stdout) << "releasing channel object: " << this->type_ - << Qt::endl; + LOG_D() << "Releasing Channel Object: " << this->type_; } #else ChannelObject::~ChannelObject() noexcept = default; -- cgit v1.2.3