Merge pull request #441 from alzix/count_discarded

add an option to warn about discarded messages
This commit is contained in:
Gabi Melman
2017-05-13 01:22:46 +03:00
committed by GitHub
4 changed files with 88 additions and 10 deletions

View File

@@ -120,3 +120,10 @@
//
// #define SPDLOG_FINAL final
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
// Uncomment count in print warning message about number of dropped messages.
// Only relevant for async_logger with async_overflow_policy::discard_log_msg
//
// #define SPDLOG_ASYNC_COUNT_DISCARDED_MSG
///////////////////////////////////////////////////////////////////////////////