From 81abd523134e1f02a192107b2d7730984590baec Mon Sep 17 00:00:00 2001 From: Myk Taylor Date: Fri, 3 Feb 2023 12:25:44 -0800 Subject: [PATCH] include TRACE messages in the build --- library/include/Debug.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/library/include/Debug.h b/library/include/Debug.h index 4cad178dc..48e661acc 100644 --- a/library/include/Debug.h +++ b/library/include/Debug.h @@ -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