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.