How to create a thread safe logger with multiple sinks? #2493
-
I know we should use factory method to create a thread safe logger, just like: spdlog::basic_logger_mt or spdlog::rotating_logger_mt. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
The logger with multiple sinks is supported. |
Beta Was this translation helpful? Give feedback.
The logger with multiple sinks is supported.
See Wiki: https://github.com/gabime/spdlog/wiki/2.-Creating-loggers#creating-loggers-with-multiple-sinks