Changeset 1052 for code/trunk/src/orxonox/core/OutputHandler.cc
- Timestamp:
- Apr 14, 2008, 3:42:49 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk/src/orxonox/core/OutputHandler.cc
r871 r1052 31 31 */ 32 32 33 #include " DebugLevel.h"33 #include "CoreSettings.h" 34 34 #include "OutputHandler.h" 35 #include "ConsoleCommand.h" 35 36 36 37 namespace orxonox 37 38 { 39 ConsoleCommandShortcutGeneric(log, createExecutor(createFunctor(&OutputHandler::log), "log", AccessLevel::None)); 40 38 41 /** 39 42 @brief Constructor: Opens the logfile and writes the first line. … … 44 47 this->logfilename_ = logfilename; 45 48 this->logfile_.open(this->logfilename_.c_str(), std::fstream::out); 46 this->logfile_ << "Started log " << std::endl;49 this->logfile_ << "Started log at yyyy/mm/dd hh:mm:ss" << std::endl; 47 50 this->logfile_.flush(); 48 51 } … … 74 77 int OutputHandler::getSoftDebugLevel(OutputHandler::OutputDevice device) 75 78 { 76 return DebugLevel::getSoftDebugLevel(device);79 return CoreSettings::getSoftDebugLevel(device); 77 80 } 78 81
Note: See TracChangeset
for help on using the changeset viewer.