mirror of
https://github.com/gabime/spdlog.git
synced 2025-11-16 09:28:56 +08:00
add overrun reset function
This commit is contained in:
@@ -75,6 +75,11 @@ size_t SPDLOG_INLINE thread_pool::overrun_counter()
|
||||
return q_.overrun_counter();
|
||||
}
|
||||
|
||||
void SPDLOG_INLINE thread_pool::reset_overrun_counter()
|
||||
{
|
||||
q_.reset_overrun_counter();
|
||||
}
|
||||
|
||||
size_t SPDLOG_INLINE thread_pool::queue_size()
|
||||
{
|
||||
return q_.size();
|
||||
|
||||
Reference in New Issue
Block a user