- Timestamp:
- Jul 30, 2011, 12:54:55 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/core/GraphicsManager.cc
r8423 r8796 35 35 #include <boost/filesystem.hpp> 36 36 #include <boost/shared_array.hpp> 37 #include <boost/preprocessor/stringize.hpp> 37 38 38 39 #include <OgreFrameListener.h> … … 396 397 Ogre::LogMessageLevel lml, bool maskDebug, const std::string& logName) 397 398 { 398 intorxonoxLevel;399 OutputLevel orxonoxLevel; 399 400 std::string introduction; 400 401 // Do not show caught OGRE exceptions in front 401 402 if (message.find("EXCEPTION") != std::string::npos) 402 403 { 403 orxonoxLevel = OutputLevel::Debug;404 orxonoxLevel = level::internal_error; 404 405 introduction = "Ogre, caught exception: "; 405 406 } … … 418 419 break; 419 420 default: 420 orxonoxLevel = 0;421 orxonoxLevel = level::debug_output; 421 422 } 422 423 introduction = "Ogre: "; 423 424 } 424 OutputHandler::getOutStream(orxonoxLevel)425 << introduction << message << std::endl;425 #pragma message(__FILE__ "("BOOST_PP_STRINGIZE(__LINE__)") : Warning: TODO: use correct level, also for config values (and remove boost include)") 426 orxout(debug_output, context::ogre) << "ogre (level: " << lml << "): " << introduction << message << endl; 426 427 } 427 428
Note: See TracChangeset
for help on using the changeset viewer.