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

Location:
code/branches/console/src/libraries/util
Files:
2 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_)
  • code/branches/console/src/libraries/util/OutputHandler.h

    r5738 r5983  
    164164    OutputHandler& OutputHandler::output(const T& output)
    165165    {
    166         if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)
    167             std::cout << output;
     166        //if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)
     167        //    std::cout << output;
    168168
    169169        if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Logfile) >= this->outputLevel_)
     
    188188    OutputHandler& operator<<(OutputHandler& out, const T& output)
    189189    {
    190         if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Console) >= out.getOutputLevel())
    191             std::cout << output;
     190        //if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Console) >= out.getOutputLevel())
     191        //    std::cout << output;
    192192
    193193        if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Logfile) >= out.getOutputLevel())
Note: See TracChangeset for help on using the changeset viewer.