Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 8, 2011, 10:19:09 PM (13 years ago)
Author:
landauf
Message:

fixed wrong config value callback in Shell
fixed bug in ConfigFileManager: if a vector contained only one element at index 0, size 0 instead of 1 was returned
removed output context "output"
the configurable vector of output contexts now contains "example" as default to make the config vector visible in the config file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/output/src/libraries/util/output/LogWriter.cc

    r8799 r8831  
    6969
    7070        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);
    7272
    7373        this->file_.open(name.c_str(), std::fstream::out);
     
    7676            this->printLine("Log file opened", level::none);
    7777        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.");
    7979    }
    8080
     
    9090    void LogWriter::setLogPath(const std::string& path)
    9191    {
    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);
    9393
    9494        this->closeFile();
Note: See TracChangeset for help on using the changeset viewer.