Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified src/UIElements/CommandLineUI/CommandLineWindow.cpp

    re4afb4 rad7270  
    2525#include "CommandLineUI/CommandLineStatusIndicator.hpp"
    2626
     27#include "Helpers/Log.hpp"
     28#include "Helpers/Verbose.hpp"
     29
    2730#include "Actions/Action.hpp"
    2831#include "Actions/ActionRegistry.hpp"
     
    5053
    5154  // go through all possible actions
     55  DoLog(0) && (Log() << Verbose(0) << "Calling Actions ... " << std::endl);
    5256  for (std::list<std::string>::iterator CommandRunner = CommandLineParser::getInstance().SequenceOfActions.begin(); CommandRunner != CommandLineParser::getInstance().SequenceOfActions.end(); ++CommandRunner) {
    53     cout << "Checking presence of " << *CommandRunner << ": ";
    5457    if (ActionRegistry::getInstance().isActionPresentByName(*CommandRunner)) {
    55       cout << "calling " << *CommandRunner << endl;
     58      DoLog(1) && (Log() << Verbose(1)
     59          << "Checking presence of " << *CommandRunner << ": "
     60          << "calling " << *CommandRunner << endl);
    5661      ActionRegistry::getInstance().getActionByName(*CommandRunner)->call();
    5762    } else {
    58       cout << "absent." << endl;
     63      DoLog(1) && (Log() << Verbose(1)
     64          << "Checking presence of " << *CommandRunner << ": "
     65          << "absent." << endl);
    5966    }
    6067  }
Note: See TracChangeset for help on using the changeset viewer.