diff options
-rw-r--r-- | src/buildtool/main/main.cpp | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp index 98fe2d42..ea17e9ea 100644 --- a/src/buildtool/main/main.cpp +++ b/src/buildtool/main/main.cpp @@ -1048,16 +1048,18 @@ auto main(int argc, char* argv[]) -> int { { auto cached = stats.ExportsCachedCounter(); + auto served = stats.ExportsServedCounter(); auto uncached = stats.ExportsUncachedCounter(); auto not_eligible = stats.ExportsNotEligibleCounter(); - Logger::Log(cached + uncached + not_eligible > 0 - ? LogLevel::Info - : LogLevel::Debug, - "Export targets found: {} cached, {} uncached, " - "{} not eligible for caching", - cached, - uncached, - not_eligible); + Logger::Log( + cached + uncached + not_eligible > 0 ? LogLevel::Info + : LogLevel::Debug, + "Export targets found: {} cached, {}{} uncached, " + "{} not eligible for caching", + cached, + served > 0 ? fmt::format("{} served, ", served) : "", + uncached, + not_eligible); } ReportTaintedness(*result); |