FreeBSD Manual Pages
MONGOC_STRUCTURED_LOG_FUNC_T(3) libmongoc MONGOC_STRUCTURED_LOG_FUNC_T(3) SYNOPSIS typedef void (*mongoc_structured_log_func_t) (const mongoc_structured_log_entry_t *entry, void *user_data); Callback function for mongoc_structured_log_opts_set_handler(). Struc- tured log handlers must be thread-safe if they will be used with mongoc_client_pool_t. Handlers must avoid unbounded recursion, prefer- ably by avoiding the use of any libmongoc client or pool which uses the same handler. PARAMETERS • entry: A mongoc_structured_log_entry_t pointer, only valid during the handler invocation. • user_data: Optional user data from mongoc_structured_log_opts_set_handler(). SEE ALSO: Structured Logging AUTHOR MongoDB, Inc COPYRIGHT 2009-present, MongoDB, Inc. 1.30.2 Apr 12, 2025 MONGOC_STRUCTURED_LOG_FUNC_T(3)
SYNOPSIS | PARAMETERS | AUTHOR | COPYRIGHT
Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=mongoc_structured_log_func_t&sektion=3&manpath=FreeBSD+Ports+14.3.quarterly>