include TRACE messages in the build

develop
Myk Taylor 2023-02-03 12:25:44 -08:00
parent e2095f9ae3
commit 81abd52313
No known key found for this signature in database
GPG Key ID: 8A39CA0FA0C16E78
1 changed files with 5 additions and 3 deletions

@ -102,10 +102,12 @@ namespace DFHack {
#ifdef NDEBUG
/*!
* Reduce minimum compiled in debug levels if NDEBUG is defined. This is LDEBUG
* and not LINFO so users can usefully increase logging levels for bug reports.
* This is here so we can reduce minimum compiled in debug levels if NDEBUG is
* defined if we want to. If LTRACE slows down the binary, we can change it to
* LDEBUG (but no lower than that so users can usefully increase logging levels
*for bug reports).
*/
#define DBG_FILTER DFHack::DebugCategory::LDEBUG
#define DBG_FILTER DFHack::DebugCategory::LTRACE
#else
//! Set default compiled in debug levels to include all prints
#define DBG_FILTER DFHack::DebugCategory::LTRACE