|
SYNOPSIStypedef enum {
mongoc_structured_log_level_t enumerates the available log levels for use with structured logging. FUNCTIONSmongoc_structured_log_get_level_name()Synopsisconst char * mongoc_structured_log_get_level_name (mongoc_structured_log_level_t level); Parameters
ReturnsIf 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 mongoc_structured_log_get_named_level()Synopsisbool 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
ReturnsIf 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 SEE ALSO: Structured Logging AUTHORMongoDB, Inc COPYRIGHT2009-present, MongoDB, Inc.
|