Changed: Deactivate logs in console only in Release mode

hg/feature/sound
kervala 15 years ago
parent f3b1ea3d95
commit 7587fc23da

@ -351,10 +351,12 @@ int main(int argc, char **argv)
CApplicationContext *appContext = new CApplicationContext; CApplicationContext *appContext = new CApplicationContext;
createDebug(); createDebug();
#ifndef NL_DEBUG
INelContext::getInstance().getDebugLog()->removeDisplayer("DEFAULT_SD"); INelContext::getInstance().getDebugLog()->removeDisplayer("DEFAULT_SD");
INelContext::getInstance().getInfoLog()->removeDisplayer("DEFAULT_SD"); INelContext::getInstance().getInfoLog()->removeDisplayer("DEFAULT_SD");
INelContext::getInstance().getWarningLog()->removeDisplayer("DEFAULT_SD"); INelContext::getInstance().getWarningLog()->removeDisplayer("DEFAULT_SD");
#endif // NL_DEBUG
// if client_default.cfg is not in current directory, use application default directory // if client_default.cfg is not in current directory, use application default directory
if (!CFile::isExists("client_default.cfg")) if (!CFile::isExists("client_default.cfg"))

Loading…
Cancel
Save