Can One Process have two spdlog instance? #2435
Unanswered
kanli201904
asked this question in
Q&A
Replies: 1 comment 3 replies
-
There is no support (#1448). But you can create thread-pool for each process. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
the problem is :The spdlog exception is like : " the thread pool is not exist"
the case is : We create one shared XXX.so , that use spdlog to record some logs, then one user use the XXX.so in his process. the user also use the spdlog to record logs. As the result: becaust the user also call the spdlog::init_thread_pool, that we destroy the spdlog's thread pool in the so. the spdlog can not be generated inner the so module
Beta Was this translation helpful? Give feedback.
All reactions