MongoDB C++ Driver current
Loading...
Searching...
No Matches
logger.hpp File Reference

Description

Provides utilities related to mongocxx logging.

Includes

Go to the source code of this file.

Namespaces

namespace  mongocxx
 The top-level namespace within which all mongocxx library entities are declared.
namespace  mongocxx::v_noabi
 Declares entities whose ABI stability is NOT guaranteed.

Typedefs

using mongocxx::log_handler
 The type of an unstructured log message handler.
using mongocxx::v_noabi::log_handler
 The type of an unstructured log message handler.

Functions

void mongocxx::set_global_logger (log_handler handler)
 Set the process-global unstructured log message handler to a custom handler.
void mongocxx::v_noabi::set_global_logger (log_handler handler)
 Set the process-global unstructured log message handler to a custom handler.