aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/logging.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/libutil/logging.cc')
-rw-r--r--src/libutil/logging.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/libutil/logging.cc b/src/libutil/logging.cc
index 321c90712..ed83770a1 100644
--- a/src/libutil/logging.cc
+++ b/src/libutil/logging.cc
@@ -91,4 +91,9 @@ Activity::~Activity()
logger->event(evStopActivity, id);
}
+void Activity::progress(uint64_t done, uint64_t expected, uint64_t running, uint64_t failed) const
+{
+ logger->event(evProgress, id, done, expected, running, failed);
+}
+
}