Changed: Don't log nldebug in Release

This commit is contained in:
kervala 2015-11-09 12:46:02 +01:00
parent 19f78dcf14
commit 88d682d8c9

View file

@ -366,6 +366,11 @@ int main(int argc, char **argv)
// init the Nel context // init the Nel context
CApplicationContext *appContext = new CApplicationContext; CApplicationContext *appContext = new CApplicationContext;
// disable nldebug messages in logs in Release
#ifdef NL_RELEASE
DisableNLDebug = true;
#endif
createDebug(); createDebug();
INelContext::getInstance().setWindowedApplication(true); INelContext::getInstance().setWindowedApplication(true);