-
While it might be easy, I really can't find it anywhere. I have a c++ back-end program that logs everything with spdlog. I would like to send the last 5 messages to the front-end. How do I read last n messages from spdlog? |
Beta Was this translation helpful? Give feedback.
Answered by
tt4g
Sep 26, 2021
Replies: 1 comment 4 replies
-
You can use |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
copark86
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can use
spdlog::sinks::ringbuffer_sink
.