mongoc_structured_log_get_component_name

Synopsis

const char *
mongoc_structured_log_get_component_name (mongoc_structured_log_component_t component);

Parameters

Returns

If the component is known, returns a pointer to a constant string that should not be freed. If the component has no known name, returns NULL.

See also:

Structured Logging <>

Author

MongoDB, Inc

Info

Jan 27, 2026 1.30.6 libmongoc