carta
mongoc_structured_log_opts_get_max_level_for_component(3)

mongoc_structured_log_opts_get_max_level_for_component3

Parameters

•

opts: Structured log options, allocated with mongoc_structured_log_opts_new().

•

component: Log component as a mongoc_structured_log_component_t.

Returns

Returns the configured maximum log level for a specific component, as a mongoc_structured_log_level_t. This may be the last value set with mongoc_structured_log_opts_set_max_level_for_component() or mongoc_structured_log_opts_set_max_level_for_all_components(), or it may be the default obtained from environment variables. If an invalid or unknown component enum is given, returns the lowest log level.

SEE ALSO:

Structured Logging

Author

MongoDB, Inc

From libmongoc-doc 1.30.4-1+deb13u3 in Debian 13 (Trixie). Parsed by carta from the page's man source.