mirror of
https://github.com/gabime/spdlog.git
synced 2026-01-02 09:57:55 +08:00
increment counter every time we overrid a message in async mode.
This commit is contained in:
@@ -30,6 +30,11 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
int overrun_counter() const
|
||||
{
|
||||
return q_.overrun_counter();
|
||||
}
|
||||
|
||||
#ifndef __MINGW32__
|
||||
// try to enqueue and block if no room left
|
||||
void enqueue(T &&item)
|
||||
|
||||
Reference in New Issue
Block a user