Changed: Deactivate logs in console only in Release mode

This commit is contained in:
kervala 2010-10-03 18:26:35 +02:00
parent 5026960cec
commit 7e21282a39

View file

@ -351,10 +351,12 @@ int main(int argc, char **argv)
CApplicationContext *appContext = new CApplicationContext;
createDebug();
#ifndef NL_DEBUG
INelContext::getInstance().getDebugLog()->removeDisplayer("DEFAULT_SD");
INelContext::getInstance().getInfoLog()->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 (!CFile::isExists("client_default.cfg"))