mongoc_structured_log_get_named_component(3)

mongoc_structured_log_get_named_component3

Usage

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

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