Changeset 1446 for code/branches/network/src/core/OutputHandler.cc
- Timestamp:
- May 28, 2008, 5:30:11 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/network/src/core/OutputHandler.cc
r1062 r1446 38 38 namespace orxonox 39 39 { 40 ConsoleCommandShortcutGeneric(log, createExecutor(createFunctor(&OutputHandler::log), "log", AccessLevel::None)); 40 SetConsoleCommandShortcutGeneric(log, createConsoleCommand(createFunctor(&OutputHandler::log), "log" )); 41 SetConsoleCommandShortcutGeneric(error, createConsoleCommand(createFunctor(&OutputHandler::error), "error" )); 42 SetConsoleCommandShortcutGeneric(warning, createConsoleCommand(createFunctor(&OutputHandler::warning), "warning")); 43 SetConsoleCommandShortcutGeneric(info, createConsoleCommand(createFunctor(&OutputHandler::info), "info" )); 44 SetConsoleCommandShortcutGeneric(debug, createConsoleCommand(createFunctor(&OutputHandler::debug), "debug" )); 41 45 42 46 /** … … 97 101 } 98 102 103 if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Shell) >= this->outputLevel_) 104 Shell::getInstance().getOutputBuffer() << sb; 105 99 106 return *this; 100 107 } … … 115 122 this->logfile_.flush(); 116 123 } 124 125 if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Shell) >= this->outputLevel_) 126 Shell::getInstance().getOutputBuffer() << manipulator; 117 127 118 128 return *this; … … 135 145 } 136 146 147 if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Shell) >= this->outputLevel_) 148 Shell::getInstance().getOutputBuffer() << manipulator; 149 137 150 return *this; 138 151 } … … 154 167 } 155 168 169 if (OutputHandler::getSoftDebugLevel(OutputHandler::LD_Shell) >= this->outputLevel_) 170 Shell::getInstance().getOutputBuffer() << manipulator; 171 156 172 return *this; 157 173 }
Note: See TracChangeset
for help on using the changeset viewer.