decoder/mad, ...: more libfmt logging

This commit is contained in:
Max Kellermann
2021-06-25 17:26:41 +02:00
parent f60a42e0b6
commit b29a43b4d7
42 changed files with 245 additions and 251 deletions

View File

@@ -113,8 +113,7 @@ UpdateService::Task() noexcept
SetThreadName("update");
if (!next.path_utf8.empty())
FormatDebug(update_domain, "starting: %s",
next.path_utf8.c_str());
FmtDebug(update_domain, "starting: {}", next.path_utf8);
else
LogDebug(update_domain, "starting");
@@ -133,8 +132,7 @@ UpdateService::Task() noexcept
}
if (!next.path_utf8.empty())
FormatDebug(update_domain, "finished: %s",
next.path_utf8.c_str());
FmtDebug(update_domain, "finished: {}", next.path_utf8);
else
LogDebug(update_domain, "finished");
@@ -155,8 +153,8 @@ UpdateService::StartThread(UpdateQueueItem &&i)
update_thread.Start();
FormatDebug(update_domain,
"spawned thread for update job id %i", next.id);
FmtDebug(update_domain,
"spawned thread for update job id {}", next.id);
}
unsigned