diff options
Diffstat (limited to 'src/logging/timer.h')
-rw-r--r-- | src/logging/timer.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/logging/timer.h b/src/logging/timer.h index 6725c71a95..b77a0e17c7 100644 --- a/src/logging/timer.h +++ b/src/logging/timer.h @@ -100,6 +100,8 @@ private: BCLog::Timer<std::chrono::microseconds> PASTE2(logging_timer, __COUNTER__)(__func__, end_msg, log_category) #define LOG_TIME_MILLIS_WITH_CATEGORY(end_msg, log_category) \ BCLog::Timer<std::chrono::milliseconds> PASTE2(logging_timer, __COUNTER__)(__func__, end_msg, log_category) +#define LOG_TIME_MILLIS_WITH_CATEGORY_MSG_ONCE(end_msg, log_category) \ + BCLog::Timer<std::chrono::milliseconds> PASTE2(logging_timer, __COUNTER__)(__func__, end_msg, log_category, /* msg_on_completion=*/false) #define LOG_TIME_SECONDS(end_msg) \ BCLog::Timer<std::chrono::seconds> PASTE2(logging_timer, __COUNTER__)(__func__, end_msg) |