19 #include <bsoncxx/stdx/string_view.hpp>
20 #include <mongocxx/stdx.hpp>
22 #include <mongocxx/config/prelude.hpp>
25 MONGOCXX_INLINE_NAMESPACE_BEGIN
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>
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:22
stdx::string_view to_string(log_level level)
Returns a stringification of the given log level.
The interface that all user-defined loggers must implement.
Definition: logger.hpp:53
log_level
The log level of a message passed to a .
Definition: logger.hpp:30