const char *
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_STRUCTURED_LOG_GET_LEVEL_NAME(3)
Parameters
• level: Log level as a mongoc_structured_log_level_t.
Returns
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.
SEEALSO:StructuredLoggingSynopsis
const char *
mongoc_structured_log_get_level_name (mongoc_structured_log_level_t level);
