mirror of
https://github.com/gabime/spdlog.git
synced 2024-11-16 00:45:48 +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. |
||
---|---|---|
.. | ||
cfg | ||
details | ||
fmt | ||
sinks | ||
async_logger-inl.h | ||
async_logger.h | ||
async.h | ||
common-inl.h | ||
common.h | ||
formatter.h | ||
fwd.h | ||
logger-inl.h | ||
logger.h | ||
pattern_formatter-inl.h | ||
pattern_formatter.h | ||
spdlog-inl.h | ||
spdlog.h | ||
stopwatch.h | ||
tweakme.h | ||
version.h |