mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 01:51:38 +08:00
b5b5043d42
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. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
includes.h | ||
main.cpp | ||
test_async.cpp | ||
test_backtrace.cpp | ||
test_bin_to_hex.cpp | ||
test_cfg.cpp | ||
test_circular_q.cpp | ||
test_create_dir.cpp | ||
test_custom_callbacks.cpp | ||
test_daily_logger.cpp | ||
test_dup_filter.cpp | ||
test_errors.cpp | ||
test_eventlog.cpp | ||
test_file_helper.cpp | ||
test_file_logging.cpp | ||
test_fmt_helper.cpp | ||
test_macros.cpp | ||
test_misc.cpp | ||
test_mpmc_q.cpp | ||
test_pattern_formatter.cpp | ||
test_registry.cpp | ||
test_sink.h | ||
test_stdout_api.cpp | ||
test_stopwatch.cpp | ||
test_systemd.cpp | ||
test_time_point.cpp | ||
utils.cpp | ||
utils.h |