Scroll to navigation

MONGOC_STRUCTURED_LOG_GET_COMPONENT_NAME(3) libmongoc MONGOC_STRUCTURED_LOG_GET_COMPONENT_NAME(3)

SYNOPSIS

const char *
mongoc_structured_log_get_component_name (mongoc_structured_log_component_t component);


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.

See also:

Structured Logging <>



Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

December 11, 2025 2.2.1