const char *
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_STRUCTURED_LOG_GET_COMPONENT_NAME(3)
Parameters
• component: Log component as a mongoc_structured_log_component_t.
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.
SEEALSO:StructuredLoggingSynopsis
const char *
mongoc_structured_log_get_component_name (mongoc_structured_log_component_t component);
