Changeset 8831 for code/branches/output/src/libraries/util
- Timestamp:
- Aug 8, 2011, 10:19:09 PM (13 years ago)
- Location:
- code/branches/output/src/libraries/util/output
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/output/src/libraries/util/output/BaseWriter.cc
r8808 r8831 39 39 this->configurableMaxLevel_ = level::none; 40 40 this->configurableContextsMaxLevel_ = level::verbose; 41 this->configurableContexts_.push_back("example"); 42 this->changedConfigurableLevels(); 41 43 } 42 44 -
code/branches/output/src/libraries/util/output/LogWriter.cc
r8799 r8831 69 69 70 70 if (this->bDefaultPath_) 71 OutputManager::getInstance().pushMessage(level::user_info, context:: output(), "Opening log file " + name);71 OutputManager::getInstance().pushMessage(level::user_info, context::undefined(), "Opening log file " + name); 72 72 73 73 this->file_.open(name.c_str(), std::fstream::out); … … 76 76 this->printLine("Log file opened", level::none); 77 77 else 78 OutputManager::getInstance().pushMessage(level::user_warning, context:: output(), "Failed to open log file. File logging disabled.");78 OutputManager::getInstance().pushMessage(level::user_warning, context::undefined(), "Failed to open log file. File logging disabled."); 79 79 } 80 80 … … 90 90 void LogWriter::setLogPath(const std::string& path) 91 91 { 92 OutputManager::getInstance().pushMessage(level::internal_info, context:: output(), "Migrating log file from " + this->path_ + "\nto " + path);92 OutputManager::getInstance().pushMessage(level::internal_info, context::undefined(), "Migrating log file from " + this->path_ + "\nto " + path); 93 93 94 94 this->closeFile(); -
code/branches/output/src/libraries/util/output/OutputDefinitions.h
r8811 r8831 85 85 REGISTER_OUTPUT_CONTEXT(super); 86 86 REGISTER_OUTPUT_CONTEXT(language); 87 REGISTER_OUTPUT_CONTEXT(output);88 87 REGISTER_OUTPUT_CONTEXT(commands); 89 88 REGISTER_OUTPUT_CONTEXT(executor);
Note: See TracChangeset
for help on using the changeset viewer.