diff options
Diffstat (limited to 'src/logging/timer.h')
-rw-r--r-- | src/logging/timer.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/logging/timer.h b/src/logging/timer.h index 7094098802..159920e397 100644 --- a/src/logging/timer.h +++ b/src/logging/timer.h @@ -93,10 +93,10 @@ private: } // namespace BCLog -#define LOG_TIME_MILLIS(end_msg, ...) \ - BCLog::Timer<std::chrono::milliseconds> PASTE2(logging_timer, __COUNTER__)(__func__, end_msg, ## __VA_ARGS__) -#define LOG_TIME_SECONDS(end_msg, ...) \ - BCLog::Timer<std::chrono::seconds> PASTE2(logging_timer, __COUNTER__)(__func__, end_msg, ## __VA_ARGS__) +#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_SECONDS(end_msg) \ + BCLog::Timer<std::chrono::seconds> PASTE2(logging_timer, __COUNTER__)(__func__, end_msg) #endif // BITCOIN_LOGGING_TIMER_H |