[Orxonox-commit 2460] r7167 - code/trunk/src/libraries/core
landauf at orxonox.net
landauf at orxonox.net
Mon Aug 16 23:15:31 CEST 2010
Author: landauf
Date: 2010-08-16 23:15:31 +0200 (Mon, 16 Aug 2010)
New Revision: 7167
Modified:
code/trunk/src/libraries/core/Core.cc
code/trunk/src/libraries/core/Shell.cc
Log:
using SetConfigValueExternal also for two old config values
Modified: code/trunk/src/libraries/core/Core.cc
===================================================================
--- code/trunk/src/libraries/core/Core.cc 2010-08-16 20:56:26 UTC (rev 7166)
+++ code/trunk/src/libraries/core/Core.cc 2010-08-16 21:15:31 UTC (rev 7167)
@@ -190,7 +190,7 @@
#else
const unsigned int defaultLevelLogFile = 4;
#endif
- setConfigValueGeneric(this, &this->softDebugLevelLogFile_, ConfigFileType::Settings, "OutputHandler", "softDebugLevelLogFile", defaultLevelLogFile)
+ SetConfigValueExternal(softDebugLevelLogFile_, "OutputHandler", "softDebugLevelLogFile", defaultLevelLogFile)
.description("The maximum level of debug output shown in the log file");
OutputHandler::getInstance().setSoftDebugLevel(OutputHandler::logFileOutputListenerName_s, this->softDebugLevelLogFile_);
Modified: code/trunk/src/libraries/core/Shell.cc
===================================================================
--- code/trunk/src/libraries/core/Shell.cc 2010-08-16 20:56:26 UTC (rev 7166)
+++ code/trunk/src/libraries/core/Shell.cc 2010-08-16 21:15:31 UTC (rev 7167)
@@ -104,7 +104,7 @@
#else
const unsigned int defaultLevel = 3;
#endif
- setConfigValueGeneric(this, &softDebugLevel_, ConfigFileType::Settings, "OutputHandler", "softDebugLevel" + this->consoleName_, defaultLevel)
+ SetConfigValueExternal(softDebugLevel_, "OutputHandler", "softDebugLevel" + this->consoleName_, defaultLevel)
.description("The maximal level of debug output shown in the Shell");
this->setSoftDebugLevel(this->softDebugLevel_);
}
More information about the Orxonox-commit
mailing list