From b18817b46fb40feec2e4d71ac8b69e89795a2570 Mon Sep 17 00:00:00 2001 From: Johann Dreo Date: Sun, 5 Sep 2010 23:42:58 +0200 Subject: [PATCH] use eo::log instead of cout --- eo/src/utils/eoStdoutMonitor.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/eo/src/utils/eoStdoutMonitor.cpp b/eo/src/utils/eoStdoutMonitor.cpp index 8120f516b..b0b3863dd 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 {