MONGOC_STRUCT...ALL_COMPONENTS(3)
π MONGOC_STRUCT...ALL_COMPONENTS(3) π
okay bestie, this one comes from libmongoc and it's lowkey iconic for getting all your structured log levels in formation. Let's get into it. π«Ά
β¨ SYNOPSIS β¨
bool
mongoc_structured_log_opts_set_max_level_for_all_components (mongoc_structured_log_opts_t *opts,
mongoc_structured_log_level_t level);
This function sets all per-component maximum log levels to the same value. Only log messages at or below this severity level will be passed to mongoc_structured_log_func_t. It's effective even for logging components not known at compile-time β yes, even the surprise ones. No cap. πβ¨
π PARAMETERS π
optsβ Structured log options, allocated withmongoc_structured_log_opts_new(). This is the main character setup.levelβ The max log level for all components, as amongoc_structured_log_level_t.
π₯ RETURNS π₯
Returns true on success, or false if the supplied parameters were incorrect. That's the vibe check. periodt. π
π SEE ALSO π
Structured Logging β go read that if you want the full lore. iykyk. π¦
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
bestie, that's the whole page π sourced from libmongoc, version 2.5.6, dated Oct 09, 2026. slay and stay logged β¨π
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms