mirror of
https://github.com/DanielSWolf/rhubarb-lip-sync.git
synced 2026-11-21 12:25:08 +00:00
Simplified code using Timeline<T>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user