DOKK / manpages / debian 13 / libmongoc-doc / mongoc_structured_log_get_component_name.3.en
MONGOC_STRUCTURED_LOG_GET_COMPONENT_NAME(3) libmongoc MONGOC_STRUCTURED_LOG_GET_COMPONENT_NAME(3)

const char *
mongoc_structured_log_get_component_name (mongoc_structured_log_component_t component);


component: Log component as a mongoc_structured_log_component_t.

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



MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4