Changeset 9547 for code/branches/testing/src/libraries/core
- Timestamp:
- Mar 12, 2013, 10:05:25 PM (12 years ago)
- Location:
- code/branches/testing/src/libraries/core
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/testing/src/libraries/core/Core.cc
r9538 r9547 181 181 182 182 // Set the correct log path and rewrite the log file with the correct log levels 183 OutputManager::getInstance().getLogWriter() .setLogDirectory(PathConfig::getLogPathString());183 OutputManager::getInstance().getLogWriter()->setLogDirectory(PathConfig::getLogPathString()); 184 184 185 185 #if !defined(ORXONOX_PLATFORM_APPLE) && !defined(ORXONOX_USE_WINMAIN) … … 259 259 void Core::setConfigValues() 260 260 { 261 SetConfigValueExternal(OutputManager::getInstance().getLogWriter() .configurableMaxLevel_,262 OutputManager::getInstance().getLogWriter() .getConfigurableSectionName(),263 OutputManager::getInstance().getLogWriter() .getConfigurableMaxLevelName(),264 OutputManager::getInstance().getLogWriter() .configurableMaxLevel_)261 SetConfigValueExternal(OutputManager::getInstance().getLogWriter()->configurableMaxLevel_, 262 OutputManager::getInstance().getLogWriter()->getConfigurableSectionName(), 263 OutputManager::getInstance().getLogWriter()->getConfigurableMaxLevelName(), 264 OutputManager::getInstance().getLogWriter()->configurableMaxLevel_) 265 265 .description("The maximum level of output shown in the log file") 266 .callback(static_cast<BaseWriter*>( &OutputManager::getInstance().getLogWriter()), &BaseWriter::changedConfigurableLevel);267 SetConfigValueExternal(OutputManager::getInstance().getLogWriter() .configurableAdditionalContextsMaxLevel_,268 OutputManager::getInstance().getLogWriter() .getConfigurableSectionName(),269 OutputManager::getInstance().getLogWriter() .getConfigurableAdditionalContextsMaxLevelName(),270 OutputManager::getInstance().getLogWriter() .configurableAdditionalContextsMaxLevel_)266 .callback(static_cast<BaseWriter*>(OutputManager::getInstance().getLogWriter()), &BaseWriter::changedConfigurableLevel); 267 SetConfigValueExternal(OutputManager::getInstance().getLogWriter()->configurableAdditionalContextsMaxLevel_, 268 OutputManager::getInstance().getLogWriter()->getConfigurableSectionName(), 269 OutputManager::getInstance().getLogWriter()->getConfigurableAdditionalContextsMaxLevelName(), 270 OutputManager::getInstance().getLogWriter()->configurableAdditionalContextsMaxLevel_) 271 271 .description("The maximum level of output shown in the log file for additional contexts") 272 .callback(static_cast<BaseWriter*>( &OutputManager::getInstance().getLogWriter()), &BaseWriter::changedConfigurableAdditionalContextsLevel);273 SetConfigValueExternal(OutputManager::getInstance().getLogWriter() .configurableAdditionalContexts_,274 OutputManager::getInstance().getLogWriter() .getConfigurableSectionName(),275 OutputManager::getInstance().getLogWriter() .getConfigurableAdditionalContextsName(),276 OutputManager::getInstance().getLogWriter() .configurableAdditionalContexts_)272 .callback(static_cast<BaseWriter*>(OutputManager::getInstance().getLogWriter()), &BaseWriter::changedConfigurableAdditionalContextsLevel); 273 SetConfigValueExternal(OutputManager::getInstance().getLogWriter()->configurableAdditionalContexts_, 274 OutputManager::getInstance().getLogWriter()->getConfigurableSectionName(), 275 OutputManager::getInstance().getLogWriter()->getConfigurableAdditionalContextsName(), 276 OutputManager::getInstance().getLogWriter()->configurableAdditionalContexts_) 277 277 .description("Additional output contexts shown in the log file") 278 .callback(static_cast<BaseWriter*>( &OutputManager::getInstance().getLogWriter()), &BaseWriter::changedConfigurableAdditionalContexts);278 .callback(static_cast<BaseWriter*>(OutputManager::getInstance().getLogWriter()), &BaseWriter::changedConfigurableAdditionalContexts); 279 279 280 280 SetConfigValue(bDevMode_, PathConfig::buildDirectoryRun()) -
code/branches/testing/src/libraries/core/command/Shell.cc
r9536 r9547 88 88 89 89 // Get the previous output and add it to the Shell 90 OutputManager::getInstance().getMemoryWriter() .resendOutput(this);90 OutputManager::getInstance().getMemoryWriter()->resendOutput(this); 91 91 } 92 92
Note: See TracChangeset
for help on using the changeset viewer.