Man page - mongoc_structured_log_get_named_level(3)

Packages contas this manual

Manual

MONGOC_STRUCTURED_LOG_GET_NAMED_LEVEL(3) libmongoc MONGOC_STRUCTURED_LOG_GET_NAMED_LEVEL(3)

bool
mongoc_structured_log_get_named_level (const char *name, mongoc_structured_log_level_t *out);


Look up a log level by name. Case insensitive.

  • name: A name to look up as a log level.
  • out: On success, the corresponding mongoc_structured_log_level_t is written here.

If the level name is known, returns true and writes the level enum to *out. If the level name is not known, returns false and does not write *out.

SEE ALSO:

Structured Logging



MongoDB, Inc

2009-present, MongoDB, Inc.

December 18, 2025 1.30.4