Only log debug messages when NDEBUG is not defined (#4442)
This commit is contained in:
@@ -2,6 +2,8 @@
|
||||
|
||||
## Unversioned
|
||||
|
||||
- Dev: Only log debug messages when NDEBUG is not defined. (#4442)
|
||||
|
||||
## 2.4.2
|
||||
|
||||
- Minor: Added `/banid` command that allows banning by user ID. (#4411)
|
||||
|
||||
@@ -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