default log output to debug for the ostream monitor ; better documentation
This commit is contained in:
parent
cf5533c1b2
commit
22224ad793
2 changed files with 5 additions and 3 deletions
|
|
@ -25,7 +25,7 @@ eoMonitor& eoOStreamMonitor::operator()(void)
|
||||||
|
|
||||||
if (firsttime) {
|
if (firsttime) {
|
||||||
|
|
||||||
eo::log << eo::progress << "First Generation" << std::endl;
|
eo::log << eo::debug << "First Generation" << std::endl;
|
||||||
|
|
||||||
for (iterator it = vec.begin (); it != vec.end (); ++it) {
|
for (iterator it = vec.begin (); it != vec.end (); ++it) {
|
||||||
out << (*it)->longName ();
|
out << (*it)->longName ();
|
||||||
|
|
@ -52,7 +52,7 @@ eoMonitor& eoOStreamMonitor::operator()(void)
|
||||||
} // for it in vec
|
} // for it in vec
|
||||||
|
|
||||||
out << std::endl;
|
out << std::endl;
|
||||||
eo::log << eo::progress << "End of Generation" << std::endl;
|
eo::log << eo::debug << "End of Generation" << std::endl;
|
||||||
|
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,9 @@ Authors:
|
||||||
#include <eoObject.h>
|
#include <eoObject.h>
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Prints statistics to stdout
|
Prints statistics to a given ostream.
|
||||||
|
|
||||||
|
You can pass any instance of an ostream to the constructor, like, for example, std::clog.
|
||||||
|
|
||||||
@ingroup Monitors
|
@ingroup Monitors
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
Reference in a new issue