Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6392 for code


Ignore:
Timestamp:
Dec 21, 2009, 2:28:46 PM (15 years ago)
Author:
rgrieder
Message:

Adjusted hard debug level for the debug build: now set to 6 (Ultra).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation2/src/libraries/util/Debug.h

    r6133 r6392  
    7171    using std::endl;
    7272
    73     //! Adjust to discard certain output with level > hardDebugLevel at compile time
     73    // Adjust this to discard certain output with level > hardDebugLevel at compile time already
     74#ifdef ORXONOX_RELEASE
     75    const int hardDebugLevel = OutputLevel::Verbose
     76#elif defined(NDEBUG)
    7477    const int hardDebugLevel = OutputLevel::Verbose;
     78#else
     79    //! Maximum level for debug output that should be even processed at run time
     80    const int hardDebugLevel = OutputLevel::Ultra;
     81#endif
    7582
    7683    //! This function simply returns 0 and helps to suppress the "statement has no effect" compiler warning
Note: See TracChangeset for help on using the changeset viewer.