Changeset 994 for code/branches/core2/src/orxonox/core/OutputHandler.h
- Timestamp:
- Apr 5, 2008, 5:54:24 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core2/src/orxonox/core/OutputHandler.h
r955 r994 60 60 61 61 /** @brief Puts some text on the outstream. @param text The text */ 62 static inline voidlog(const std::string& text)63 { OutputHandler::getOutStream().setOutputLevel(0); OutputHandler::getOutStream().output(text + "\n"); }62 static inline std::string log(const std::string& text) 63 { OutputHandler::getOutStream().setOutputLevel(0); OutputHandler::getOutStream().output(text + "\n"); return text; } 64 64 65 65 /** @brief Returns a reference to the logfile. @return The logfile */
Note: See TracChangeset
for help on using the changeset viewer.