mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-21 22:24:07 +01:00
Only log debug messages when NDEBUG is not defined (#4442)
This commit is contained in:
parent
01a4861d76
commit
3809fd1075
2 changed files with 3 additions and 1 deletions
|
@ -2,6 +2,8 @@
|
||||||
|
|
||||||
## Unversioned
|
## Unversioned
|
||||||
|
|
||||||
|
- Dev: Only log debug messages when NDEBUG is not defined. (#4442)
|
||||||
|
|
||||||
## 2.4.2
|
## 2.4.2
|
||||||
|
|
||||||
- Minor: Added `/banid` command that allows banning by user ID. (#4411)
|
- Minor: Added `/banid` command that allows banning by user ID. (#4411)
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#include "common/QLogging.hpp"
|
#include "common/QLogging.hpp"
|
||||||
|
|
||||||
#ifdef DEBUG_OFF
|
#ifdef NDEBUG
|
||||||
static constexpr QtMsgType logThreshold = QtWarningMsg;
|
static constexpr QtMsgType logThreshold = QtWarningMsg;
|
||||||
#else
|
#else
|
||||||
static constexpr QtMsgType logThreshold = QtDebugMsg;
|
static constexpr QtMsgType logThreshold = QtDebugMsg;
|
||||||
|
|
Loading…
Reference in a new issue