mongoc_structured_log_get_named_level - Man Page

Synopsis

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.

Parameters

Returns

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

Author

MongoDB, Inc

Info

Feb 06, 2025 1.30.0 libmongoc