Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 21, 2009, 10:25:59 PM (15 years ago)
Author:
rgrieder
Message:

IOConsole basically working though there are some unresolved issues and hacks. Note: Disabled std::cout output for the time being

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/libraries/util/OutputHandler.cc

    r5738 r5983  
    149149    OutputHandler& OutputHandler::operator<<(std::streambuf* sb)
    150150    {
    151         if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)
    152             std::cout << sb;
     151        //if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)
     152        //    std::cout << sb;
    153153
    154154        if (getSoftDebugLevel(OutputHandler::LD_Logfile) >= this->outputLevel_)
     
    171171    OutputHandler& OutputHandler::operator<<(std::ostream& (*manipulator)(std::ostream&))
    172172    {
    173         if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)
    174             manipulator(std::cout);
     173        //if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)
     174        //    manipulator(std::cout);
    175175
    176176        if (getSoftDebugLevel(OutputHandler::LD_Logfile) >= this->outputLevel_)
     
    193193    OutputHandler& OutputHandler::operator<<(std::ios& (*manipulator)(std::ios&))
    194194    {
    195         if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)
    196             manipulator(std::cout);
     195        //if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)
     196        //    manipulator(std::cout);
    197197
    198198        if (getSoftDebugLevel(OutputHandler::LD_Logfile) >= this->outputLevel_)
     
    215215    OutputHandler& OutputHandler::operator<<(std::ios_base& (*manipulator)(std::ios_base&))
    216216    {
    217         if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)
    218             manipulator(std::cout);
     217        //if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)
     218        //    manipulator(std::cout);
    219219
    220220        if (getSoftDebugLevel(OutputHandler::LD_Logfile) >= this->outputLevel_)
Note: See TracChangeset for help on using the changeset viewer.