|
|
@ -102,10 +102,12 @@ namespace DFHack {
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef NDEBUG
|
|
|
|
#ifdef NDEBUG
|
|
|
|
/*!
|
|
|
|
/*!
|
|
|
|
* Reduce minimum compiled in debug levels if NDEBUG is defined. This is LDEBUG
|
|
|
|
* This is here so we can reduce minimum compiled in debug levels if NDEBUG is
|
|
|
|
* and not LINFO so users can usefully increase logging levels for bug reports.
|
|
|
|
* 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
|
|
|
|
#else
|
|
|
|
//! Set default compiled in debug levels to include all prints
|
|
|
|
//! Set default compiled in debug levels to include all prints
|
|
|
|
#define DBG_FILTER DFHack::DebugCategory::LTRACE
|
|
|
|
#define DBG_FILTER DFHack::DebugCategory::LTRACE
|
|
|
|