- Timestamp:
- Jul 25, 2011, 2:47:49 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/util/output/LogWriter.cc
r8776 r8777 83 83 84 84 if (this->bDefaultPath_) 85 OutputManager::getInstance().pushMessage(level::user_info, context::output , "Opening log file " + name);85 OutputManager::getInstance().pushMessage(level::user_info, context::output(), "Opening log file " + name); 86 86 87 87 this->file_.open(name.c_str(), std::fstream::out); … … 90 90 this->printLine("Log file opened"); 91 91 else 92 OutputManager::getInstance().pushMessage(level::user_warning, context::output , "Failed to open log file. File logging disabled.");92 OutputManager::getInstance().pushMessage(level::user_warning, context::output(), "Failed to open log file. File logging disabled."); 93 93 } 94 94 … … 104 104 void LogWriter::setLogPath(const std::string& path) 105 105 { 106 OutputManager::getInstance().pushMessage(level::internal_info, context::output , "Migrating log file from " + this->path_ + "\nto " + path);106 OutputManager::getInstance().pushMessage(level::internal_info, context::output(), "Migrating log file from " + this->path_ + "\nto " + path); 107 107 108 108 this->closeFile();
Note: See TracChangeset
for help on using the changeset viewer.