Simplified code using Timeline<T>

This commit is contained in:
Daniel Wolf
2016-04-09 22:07:25 +02:00
parent 83291aa96c
commit 04c828506d
12 changed files with 85 additions and 85 deletions

View File

@@ -7,8 +7,7 @@
#include <boost/log/utility/setup/common_attributes.hpp>
// ReSharper disable once CppUnusedIncludeDirective
#include <boost/log/support/date_time.hpp>
#include <centiseconds.h>
#include "tools.h"
#include <Timed.h>
using std::string;
using std::lock_guard;
@@ -122,7 +121,3 @@ void addFileSink(const boost::filesystem::path& logFilePath, LogLevel minLogLeve
sink->set_filter(severity >= minLogLevel);
boost::log::core::get()->add_sink(sink);
}
void logTimedEvent(const string& eventName, centiseconds start, centiseconds end, const string& value) {
LOG_DEBUG << "##" << eventName << "[" << formatDuration(start) << "-" << formatDuration(end) << "]: " << value;
}