diff --git a/eo/src/utils/eoStdoutMonitor.cpp b/eo/src/utils/eoStdoutMonitor.cpp index 8120f516..b0b3863d 100644 --- a/eo/src/utils/eoStdoutMonitor.cpp +++ b/eo/src/utils/eoStdoutMonitor.cpp @@ -10,6 +10,7 @@ #include #include #include +#include using namespace std; @@ -23,7 +24,7 @@ eoMonitor& eoStdoutMonitor::operator()(void) if (firsttime) { if (verbose) - cout << "First Generation" << endl; + eo::log << eo::progress << "First Generation" << endl; else { for(iterator it = vec.begin(); it != vec.end(); ++it) @@ -41,7 +42,7 @@ eoMonitor& eoStdoutMonitor::operator()(void) { cout << (*it)->longName() << ": " << (*it)->getValue() << '\n'; } - cout << "\n****** End of Generation ******\n" << endl; + eo::log << eo::progress << "End of Generation\n" << endl; } else // a one-liner {