Provided by: libmongoc-doc_1.30.2-1_all bug

SYNOPSIS

          bool
          mongoc_structured_log_get_named_component (const char *name, mongoc_structured_log_component_t *out);

       Look up a component by name. Case insensitive.

PARAMETERS

name: A name to look up as a log component.

       • out: On success, the corresponding mongoc_structured_log_component_t is written here.

RETURNS

       If  the  component  name  is known, returns true and writes the component enum to *out.  If the component
       name is not known, returns false and does not write *out.

       SEE ALSO:
          Structured Logging

AUTHOR

       MongoDB, Inc

COPYRIGHT

       2009-present, MongoDB, Inc.

1.30.2                                            Mar 05, 2025      MONGOC_STRUCTURED_LOG_GET_NAMED_COMPONENT(3)