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

Description

Go to the source code of this file.

Classes

class  mongocxx::v1::default_logger
 A tag type representing mongoc's default unstructured log handler. More...
class  mongocxx::v1::logger
 The interface for an unstructured log message handler. More...
class  mongocxx::v1::logger_guard
 A scope guard to temporarily replace the current unstructured log message handler. More...

Namespaces

namespace  mongocxx
 The top-level namespace within which all mongocxx library entities are declared.
namespace  mongocxx::v1
 Declares entities whose ABI stability is guaranteed for documented symbols.

Typedefs

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

Enumerations

enum class  mongocxx::v1::log_level
 The log level for an unstructured log message. More...

Functions

void mongocxx::v1::set_global_logger (log_handler handler)
 Set the process-global unstructured log message handler to a custom handler.
void mongocxx::v1::set_global_logger (v1::default_logger tag)
 Set the process-global unstructured log message handler to mongoc's default handler.