summaryrefslogtreecommitdiff
path: root/src/buildtool/progress_reporting/progress_reporter.hpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-03-14 11:07:14 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2024-03-19 10:31:33 +0100
commit7b0a91b901ee44ef3cfae9bc9fc7de08d483e592 (patch)
tree2c8c6c1f4943e642c3d748e10f7ae3d189041178 /src/buildtool/progress_reporting/progress_reporter.hpp
parentc1da694434f7df715d43c0a7c4fcff7ae23d47d8 (diff)
downloadjustbuild-7b0a91b901ee44ef3cfae9bc9fc7de08d483e592.tar.gz
graph traverser: Be explicit in logging location
Diffstat (limited to 'src/buildtool/progress_reporting/progress_reporter.hpp')
-rw-r--r--src/buildtool/progress_reporting/progress_reporter.hpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/buildtool/progress_reporting/progress_reporter.hpp b/src/buildtool/progress_reporting/progress_reporter.hpp
index 1c4206de..13136579 100644
--- a/src/buildtool/progress_reporting/progress_reporter.hpp
+++ b/src/buildtool/progress_reporting/progress_reporter.hpp
@@ -17,14 +17,15 @@
#include "gsl/gsl"
#include "src/buildtool/common/statistics.hpp"
+#include "src/buildtool/logging/logger.hpp"
#include "src/buildtool/progress_reporting/base_progress_reporter.hpp"
#include "src/buildtool/progress_reporting/progress.hpp"
class ProgressReporter {
public:
- [[nodiscard]] static auto Reporter(
- gsl::not_null<Statistics*> const& stats,
- gsl::not_null<Progress*> const& progress) noexcept
+ [[nodiscard]] static auto Reporter(gsl::not_null<Statistics*> const& stats,
+ gsl::not_null<Progress*> const& progress,
+ Logger const* logger = nullptr) noexcept
-> progress_reporter_t;
};