#pragma once #include "centiseconds.h" #include "TimeRange.h" #include "Timed.h" #include "logging.h" template void logTimedEvent(const std::string& eventName, const Timed timedValue) { logging::debugFormat("##{0}[{1}-{2}]: {3}", eventName, formatDuration(timedValue.getStart()), formatDuration(timedValue.getEnd()), timedValue.getValue()); } template void logTimedEvent(const std::string& eventName, const TimeRange& timeRange, const TValue& value) { logTimedEvent(eventName, Timed(timeRange, value)); } template void logTimedEvent(const std::string& eventName, centiseconds start, centiseconds end, const TValue& value) { logTimedEvent(eventName, Timed(start, end, value)); }