Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jul 31, 2011, 5:15:13 PM (13 years ago)
Author:
landauf
Message:

Replaced COUT with orxout in core. Tried to set levels and contexts in a more or less useful way, but not really optimized.

Location:
code/branches/output/src/libraries/util
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/util/Sleep.cc

    r8804 r8806  
    4949    {
    5050        //if (microseconds < 1000)
    51         //    orxout(internal_warning) << "Warning: Windows cannot sleep less than 1ms, ignoring" << endl;
     51        //    orxout(internal_warning) << "Windows cannot sleep less than 1ms, ignoring" << endl;
    5252        Sleep(microseconds / 1000);
    5353    }
  • code/branches/output/src/libraries/util/SubString.cc

    r8804 r8806  
    513513    void SubString::debug() const
    514514    {
    515         orxout() << "Substring-information::count=" << this->tokens_.size() << " ::";
     515        orxout(debug_output) << "Substring-information::count=" << this->tokens_.size() << " ::";
    516516        for (unsigned int i = 0; i < this->tokens_.size(); ++i)
    517             orxout() << "s" << i << "='" << this->tokens_[i].c_str() << "'::";
    518         orxout() << endl;
     517            orxout(debug_output) << "s" << i << "='" << this->tokens_[i].c_str() << "'::";
     518        orxout(debug_output) << endl;
    519519    }
    520520}
  • code/branches/output/src/libraries/util/output/OutputDefinitions.h

    r8805 r8806  
    8888            REGISTER_OUTPUT_CONTEXT(events);
    8989            REGISTER_OUTPUT_CONTEXT(config);
     90            REGISTER_OUTPUT_CONTEXT(templates);
     91            REGISTER_OUTPUT_CONTEXT(loader);
     92            REGISTER_OUTPUT_CONTEXT(xml);
    9093        }
    9194    }
Note: See TracChangeset for help on using the changeset viewer.