Console Output Overlap with Multiple async_logger Instances #3426
-
Hi, I'm using several async_logger instances across different threads. Each logger is configured with both basic_file_sink_mt and stdout_color_sink_mt. Occasionally, the console output appears to overlap or interleave. I was under the impression that these sink types are thread-safe — could someone clarify why this might be happening? Are there any known limitations or best practices for avoiding this kind of output collision? tnx |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
The collision is between a dll that is built separately and the main exe. It makes sense as every one of them has its own thread safety objects. |
Beta Was this translation helpful? Give feedback.
See Wiki: https://github.com/gabime/spdlog/wiki/How-to-use-spdlog-in-DLLs