Get rid of some unchecked calls to std::cout

This commit is contained in:
Eelco Dolstra
2023-03-02 15:02:24 +01:00
parent 09f5975c6a
commit b69a73a230
15 changed files with 36 additions and 39 deletions
+1 -1
View File
@@ -97,7 +97,7 @@ void printClosureDiff(
items.push_back(fmt("%s → %s", showVersions(removed), showVersions(added)));
if (showDelta)
items.push_back(fmt("%s%+.1f KiB" ANSI_NORMAL, sizeDelta > 0 ? ANSI_RED : ANSI_GREEN, sizeDelta / 1024.0));
std::cout << fmt("%s%s: %s\n", indent, name, concatStringsSep(", ", items));
logger->cout("%s%s: %s", indent, name, concatStringsSep(", ", items));
}
}
}