mirror of
https://github.com/DanielSWolf/rhubarb-lip-sync.git
synced 2026-11-21 12:25:08 +00:00
Added structured logging
This commit is contained in:
@@ -1 +1,10 @@
|
||||
#include "tools.h"
|
||||
#include <format.h>
|
||||
#include <chrono>
|
||||
|
||||
using std::string;
|
||||
using std::chrono::duration;
|
||||
|
||||
string formatDuration(duration<double> seconds) {
|
||||
return fmt::format("{0:.2f}", seconds.count());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user