Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 10, 2008, 3:35:50 PM (17 years ago)
Author:
landauf
Message:

moved Debug.h, OutputHandler and OutputBuffer to util, to make COUT(x) available everywhere

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core3/src/core/Core.cc

    r1535 r1586  
    107107            this->softDebugLevel_ = this->softDebugLevelShell_;
    108108
     109        OutputHandler::setSoftDebugLevel(OutputHandler::LD_All,     this->softDebugLevel_);
     110        OutputHandler::setSoftDebugLevel(OutputHandler::LD_Console, this->softDebugLevelConsole_);
     111        OutputHandler::setSoftDebugLevel(OutputHandler::LD_Logfile, this->softDebugLevelLogfile_);
     112        OutputHandler::setSoftDebugLevel(OutputHandler::LD_Shell,   this->softDebugLevelShell_);
    109113
    110114        std::string temp = this->language_;
     
    158162            else if (device == OutputHandler::LD_Shell)
    159163                Core::getInstance().softDebugLevelShell_ = level;
     164
     165            OutputHandler::setSoftDebugLevel(device, level);
    160166        }
    161167     }
     
    199205    }
    200206}
    201 
    202 /**
    203     @brief Returns the soft debug level, stored in the only existing instance of the DebugLevel class, configured in the config-file.
    204     @return The soft debug level
    205 */
    206 int getSoftDebugLevel()
    207 {
    208     return orxonox::Core::getSoftDebugLevel();
    209 }
Note: See TracChangeset for help on using the changeset viewer.