Scroll to navigation

MONGOC_STRUCTURED_LOG_GET_LEVEL_NAME(3) libmongoc MONGOC_STRUCTURED_LOG_GET_LEVEL_NAME(3)

SYNOPSIS

const char *
mongoc_structured_log_get_level_name (mongoc_structured_log_level_t level);


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.

See also:

Structured Logging <>



Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

November 26, 2025 2.2.0