mongoc_structured_log_get_level_name()

Synopsis

const char *
mongoc_structured_log_get_level_name (mongoc_structured_log_level_t level);

Parameters

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.