DOKK / manpages / debian 13 / libmongoc-doc / mongoc_structured_log_get_level_name.3.en
MONGOC_STRUCTURED_LOG_GET_LEVEL_NAME(3) libmongoc MONGOC_STRUCTURED_LOG_GET_LEVEL_NAME(3)

const char *
mongoc_structured_log_get_level_name (mongoc_structured_log_level_t level);


level: Log level as a mongoc_structured_log_level_t.

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

SEE ALSO:

Structured Logging



MongoDB, Inc

2009-present, MongoDB, Inc.

May 7, 2025 1.30.4