#include "spdlog/common.h"
#include "spdlog/details/log_msg.h"
#include "spdlog/sinks/base_sink.h"
#include <spdlog/details/synchronous_factory.h>
#include <bsoncxx/builder/stream/document.hpp>
#include <bsoncxx/types.hpp>
#include <bsoncxx/view_or_value.hpp>
#include <mongocxx/client.hpp>
#include <mongocxx/instance.hpp>
#include <mongocxx/uri.hpp>
#include "spdlog/details/null_mutex.h"
#include <mutex>
Go to the source code of this file.
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | spdlog::mongo_logger_mt (const std::string &logger_name, const std::string &db_name, const std::string &collection_name, const std::string &uri="mongodb://localhost:27017") |
|
template<typename Factory = spdlog::synchronous_factory> |
std::shared_ptr< logger > | spdlog::mongo_logger_st (const std::string &logger_name, const std::string &db_name, const std::string &collection_name, const std::string &uri="mongodb://localhost:27017") |
|