[Orxonox-commit 1674] r6392 - code/branches/presentation2/src/libraries/util
rgrieder at orxonox.net
rgrieder at orxonox.net
Mon Dec 21 14:28:47 CET 2009
Author: rgrieder
Date: 2009-12-21 14:28:46 +0100 (Mon, 21 Dec 2009)
New Revision: 6392
Modified:
code/branches/presentation2/src/libraries/util/Debug.h
Log:
Adjusted hard debug level for the debug build: now set to 6 (Ultra).
Modified: code/branches/presentation2/src/libraries/util/Debug.h
===================================================================
--- code/branches/presentation2/src/libraries/util/Debug.h 2009-12-21 13:03:59 UTC (rev 6391)
+++ code/branches/presentation2/src/libraries/util/Debug.h 2009-12-21 13:28:46 UTC (rev 6392)
@@ -70,8 +70,15 @@
// Just for convenience
using std::endl;
- //! Adjust to discard certain output with level > hardDebugLevel at compile time
+ // Adjust this to discard certain output with level > hardDebugLevel at compile time already
+#ifdef ORXONOX_RELEASE
+ const int hardDebugLevel = OutputLevel::Verbose
+#elif defined(NDEBUG)
const int hardDebugLevel = OutputLevel::Verbose;
+#else
+ //! Maximum level for debug output that should be even processed at run time
+ const int hardDebugLevel = OutputLevel::Ultra;
+#endif
//! This function simply returns 0 and helps to suppress the "statement has no effect" compiler warning
inline int debugDummyFunction()
More information about the Orxonox-commit
mailing list