Unit testing with async spdlog after shutdown() #3416
Answered
by
tt4g
yohayonyon
asked this question in
Q&A
-
Hi, I'm using async spdlog on Windows and call spdlog::shutdown() in my logger wrapper's destructor. What's the correct way to structure unit tests when using async loggers? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
tt4g
Jun 8, 2025
Replies: 1 comment
-
The global thread pool can be recreated with |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
yohayonyon
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The global thread pool can be recreated with
spdlog::init_thread_pool()
.