use eo::log instead of cout
This commit is contained in:
parent
2b4f14b8d7
commit
b18817b46f
1 changed files with 3 additions and 2 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
#include <utils/eoStdoutMonitor.h>
|
#include <utils/eoStdoutMonitor.h>
|
||||||
#include <utils/compatibility.h>
|
#include <utils/compatibility.h>
|
||||||
#include <utils/eoParam.h>
|
#include <utils/eoParam.h>
|
||||||
|
#include <eoLogger.h>
|
||||||
|
|
||||||
using namespace std;
|
using namespace std;
|
||||||
|
|
||||||
|
|
@ -23,7 +24,7 @@ eoMonitor& eoStdoutMonitor::operator()(void)
|
||||||
if (firsttime)
|
if (firsttime)
|
||||||
{
|
{
|
||||||
if (verbose)
|
if (verbose)
|
||||||
cout << "First Generation" << endl;
|
eo::log << eo::progress << "First Generation" << endl;
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
for(iterator it = vec.begin(); it != vec.end(); ++it)
|
for(iterator it = vec.begin(); it != vec.end(); ++it)
|
||||||
|
|
@ -41,7 +42,7 @@ eoMonitor& eoStdoutMonitor::operator()(void)
|
||||||
{
|
{
|
||||||
cout << (*it)->longName() << ": " << (*it)->getValue() << '\n';
|
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
|
else // a one-liner
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Reference in a new issue