summaryrefslogtreecommitdiff
path: root/src/buildtool/main/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/main/main.cpp')
-rw-r--r--src/buildtool/main/main.cpp18
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);