From d8a1aedf015cf7ab8c91388c8f21e5fc2ed8a6eb Mon Sep 17 00:00:00 2001 From: Johann Dreo Date: Wed, 15 Sep 2010 22:28:58 +0200 Subject: [PATCH] use eo::log --- eo/src/eoTimeContinue.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/eo/src/eoTimeContinue.h b/eo/src/eoTimeContinue.h index a0f97acc..47f94b67 100644 --- a/eo/src/eoTimeContinue.h +++ b/eo/src/eoTimeContinue.h @@ -25,7 +25,10 @@ #ifndef _EOTIMECONTINUE_H #define _EOTIMECONTINUE_H +#include + #include +#include /** * Termination condition until a running time is reached. @@ -54,7 +57,7 @@ public: time_t elapsed = (time_t) difftime(time(NULL), start); if (elapsed >= max) { - std::cout << "STOP in eoTimeContinue: Reached maximum time [" << elapsed << "/" << max << "]" << std::endl; + eo::log << eo::progress << "STOP in eoTimeContinue: Reached maximum time [" << elapsed << "/" << max << "]" << std::endl; return false; } return true;