Only log debug messages when NDEBUG is not defined (#4442)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "common/QLogging.hpp"
|
||||
|
||||
#ifdef DEBUG_OFF
|
||||
#ifdef NDEBUG
|
||||
static constexpr QtMsgType logThreshold = QtWarningMsg;
|
||||
#else
|
||||
static constexpr QtMsgType logThreshold = QtDebugMsg;
|
||||
|
||||
Reference in New Issue
Block a user