Gabi Melman
a6215527f4
Fix ringbuffer tests for newline ( #3436 )
2025-07-06 08:38:48 +03:00
gabime
0a53eafe18
update clang format again
2023-09-25 16:40:36 +03:00
gabime
9d52261185
clang format
2023-09-25 16:08:29 +03:00
gabime
1a0bfc7a89
clang format
2023-09-25 02:44:07 +03:00
James Ruan
e4f92bed48
fix ringbuffer_sink moving warning ( #2722 )
2023-04-28 18:59:35 +03:00
Gabi Melman
173d06578f
Fixed move in ringnuffer_sink
2022-04-27 08:35:50 +03:00
Charles Milette
cd4f6c1466
Replace fmt_helper::to_string by a macro
2022-04-26 23:25:35 -04:00
Charles Milette
37dd6bb159
Address PR review comments
2022-04-25 21:59:56 -04:00
Charles Milette
ebeb3707b1
Switch to vformat_to
...
Drive-by: reduce the amount of occurences of #ifdef SPDLOG_USE_STD_FORMAT
2022-04-21 21:59:02 -04:00
Charless Milette
44a4517e2b
Support C++20 std::format as an alternative to fmtlib
2021-11-13 11:29:05 -05:00
Gabi Melman
3dedb52163
Merged again pr #1563
2020-05-20 22:50:35 +03:00
Gabi Melman
ad393b83a2
Revert 01dac453db
2020-05-20 22:39:25 +03:00
Jaakko Rantala
03abdf49a0
Fixed ringbuffer_sink last_raw and last_formatted giving the first lim number of elements instead of last.
2020-05-20 19:05:24 +03:00
gabime
89b5bcfdc7
Updated ringbuffer sink
2019-11-10 00:18:24 +02:00
gabime
0cb38085a1
Updated ringbuffer sink
2019-11-10 00:08:50 +02:00
Václav Šmilauer
62e09e73f7
defer formatting, use log_msg_buffer for intermediate storage
2019-11-09 13:48:04 +01:00
Václav Šmilauer
6f0cb6365e
Move ringbuffer_sink to spdlog::details::circular_q, enhance its API: size(), at(i)
2019-11-08 19:25:31 +01:00
Václav Šmilauer
acf32be842
Add ringbuffer sink (requires boost::circular_buffer)
...
Ringbuffer sink keeps user-given number of most recent log messages in
memory and returns them upon request (using the ringbuffer_sink::last
method). This can be useful for e.g. remote debugging of a running app.
2019-11-08 15:29:20 +01:00