mirror of
https://github.com/gabime/spdlog.git
synced 2024-12-25 10:01:33 +08:00
a3c47cc682
There can only be one instance in the whole program, so programs that use the Mongo sink and also separately use MongoCXX may have problems if the Mongo sink owns the instance. MongoCXX recommends that the main application manage its own instance so configuration parameters can be passed to the constructor: http://mongocxx.org/api/current/classmongocxx_1_1instance.html However, this commit is not a breaking change. If no instance has been created at construction time, the Mongo sink will still create and own the instance. |
||
---|---|---|
.. | ||
spdlog |