diff --git a/src/timer.cc b/src/timer.cc index d9c3a7b8..b74871ad 100644 --- a/src/timer.cc +++ b/src/timer.cc @@ -1,5 +1,7 @@ #include "timer.h" +#include + #include Timer::Timer() { @@ -29,6 +31,6 @@ void Timer::ResetAndPrint(const std::string& message) { long long milliseconds = elapsed / 1000; long long remaining = elapsed - milliseconds; - std::cerr << message << " took " << milliseconds << "." << remaining << "ms" << std::endl; + LOG_S(INFO) << message << " took " << milliseconds << "." << remaining << "ms"; Reset(); } \ No newline at end of file