Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/gabime/spdlog.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandor Magyar <SMagyar@aphysci.com>2022-10-18 00:32:08 +0300
committerSandor Magyar <SMagyar@aphysci.com>2022-10-18 00:32:08 +0300
commita3c47cc6823d017056b4790db88769fc6f6f40de (patch)
tree44b8a64a0c6208379396dc5400ed9bcbe38d8f9f /tests/test_stdout_api.cpp
parent0145223be1c3b115e562603881af2832505fe496 (diff)
Don't force Mongo sink to own MongoCXX instance
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.
Diffstat (limited to 'tests/test_stdout_api.cpp')
0 files changed, 0 insertions, 0 deletions