GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
MONGOC_STRUCTURED_LOG_OPTS_SET_MAX_LEVEL_FOR_COMPONENT(3) libmongoc MONGOC_STRUCTURED_LOG_OPTS_SET_MAX_LEVEL_FOR_COMPONENT(3)

bool
mongoc_structured_log_opts_set_max_level_for_component (mongoc_structured_log_opts_t *opts,

mongoc_structured_log_component_t component,
mongoc_structured_log_level_t level);


Sets the maximum log level per-component. Only log messages at or below this severity level will be passed to mongoc_structured_log_func_t.

By default, each component's log level may come from environment variables. See mongoc_structured_log_opts_set_max_levels_from_env().

  • opts: Structured log options, allocated with mongoc_structured_log_opts_new().
  • component: The component to set a max log level. for, as a mongoc_structured_log_component_t.
  • level: The new max log level for this component, as a mongoc_structured_log_level_t.

Returns true on success, or false if the supplied parameters were incorrect.

SEE ALSO:

Structured Logging



MongoDB, Inc

2009-present, MongoDB, Inc.

July 3, 2025 1.30.4

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.