19 #include <bsoncxx/stdx/string_view.hpp>
20 #include <mongocxx/stdx.hpp>
22 #include <mongocxx/config/prelude.hpp>
25 MONGOCXX_INLINE_NAMESPACE_BEGIN
30 enum class log_level {
48 MONGOCXX_API stdx::string_view MONGOCXX_CALL to_string(log_level level);
67 virtual void operator()(log_level level, stdx::string_view domain,
68 stdx::string_view message) noexcept = 0;
77 MONGOCXX_INLINE_NAMESPACE_END
80 #include <mongocxx/config/postlude.hpp>
Definition: bulk_write.hpp:22
The interface that all user-defined loggers must implement.
Definition: logger.hpp:53