mirror of https://github.com/gabime/spdlog.git
Support async_overflow_policy::discard_new (#2876)
Reason for the discard_new policy: when there is an overflow, there is usually some unexpected issue (a bug, or some other unexpected stuff). And in case of unexpected issue, the first arrived log messages are usually more important than subsequent ones. For example, some application keep logging error messages in case of functionality failure, which, when using async_overflow_policy::overrun_oldest, will overrun the first arrived messages that may contain real reason for the failure.pull/2667/merge
parent
d109e1dcd0
commit
b5b5043d42
Loading…
Reference in New Issue