diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-09-16 11:34:41 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-09-16 16:36:07 +0200 |
commit | c335e06646d89aaaaa3c5584e250ceccfdc3fe1a (patch) | |
tree | 8111a4dabe4ef83c16db3d0e6da0e804ef7d4928 /src | |
parent | ef3063113417544cf523fcc4717a80e92ecb2604 (diff) | |
download | justbuild-c335e06646d89aaaaa3c5584e250ceccfdc3fe1a.tar.gz |
Also log dumping of the action graph
... at INFO level, in the same way as all other dumping of analysis
results happen.
Diffstat (limited to 'src')
-rw-r--r-- | src/buildtool/build_engine/target_map/result_map.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/buildtool/build_engine/target_map/result_map.hpp b/src/buildtool/build_engine/target_map/result_map.hpp index d4d9cfaf..324ff7a4 100644 --- a/src/buildtool/build_engine/target_map/result_map.hpp +++ b/src/buildtool/build_engine/target_map/result_map.hpp @@ -304,6 +304,8 @@ class ResultTargetMap { template <bool kIncludeOrigins = true> auto ToFile(std::string const& graph_file, int indent = 2) const -> void { + Logger::Log( + LogLevel::Info, "Dumping action graph to file {}.", graph_file); std::ofstream os(graph_file); os << std::setw(indent) << ToJson<kIncludeOrigins>() << std::endl; } |