Changeset 5983 for code/branches/console/src/libraries/util
- Timestamp:
- Oct 21, 2009, 10:25:59 PM (15 years ago)
- Location:
- code/branches/console/src/libraries/util
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/console/src/libraries/util/OutputHandler.cc
r5738 r5983 149 149 OutputHandler& OutputHandler::operator<<(std::streambuf* sb) 150 150 { 151 if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)152 std::cout << sb;151 //if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_) 152 // std::cout << sb; 153 153 154 154 if (getSoftDebugLevel(OutputHandler::LD_Logfile) >= this->outputLevel_) … … 171 171 OutputHandler& OutputHandler::operator<<(std::ostream& (*manipulator)(std::ostream&)) 172 172 { 173 if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)174 manipulator(std::cout);173 //if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_) 174 // manipulator(std::cout); 175 175 176 176 if (getSoftDebugLevel(OutputHandler::LD_Logfile) >= this->outputLevel_) … … 193 193 OutputHandler& OutputHandler::operator<<(std::ios& (*manipulator)(std::ios&)) 194 194 { 195 if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)196 manipulator(std::cout);195 //if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_) 196 // manipulator(std::cout); 197 197 198 198 if (getSoftDebugLevel(OutputHandler::LD_Logfile) >= this->outputLevel_) … … 215 215 OutputHandler& OutputHandler::operator<<(std::ios_base& (*manipulator)(std::ios_base&)) 216 216 { 217 if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_)218 manipulator(std::cout);217 //if (getSoftDebugLevel(OutputHandler::LD_Console) >= this->outputLevel_) 218 // manipulator(std::cout); 219 219 220 220 if (getSoftDebugLevel(OutputHandler::LD_Logfile) >= this->outputLevel_) -
code/branches/console/src/libraries/util/OutputHandler.h
r5738 r5983 164 164 OutputHandler& OutputHandler::output(const T& output) 165 165 { 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; 168 168 169 169 if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Logfile) >= this->outputLevel_) … … 188 188 OutputHandler& operator<<(OutputHandler& out, const T& output) 189 189 { 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; 192 192 193 193 if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Logfile) >= out.getOutputLevel())
Note: See TracChangeset
for help on using the changeset viewer.