qh_log_get_verbosity_by_name()

Updated: April 19, 2023

Get the verbosity for the specified combination of named context and destinations

Synopsis:

#include <qh/log.h>
uint64_t qh_log_get_verbosity_by_name(const char *context_name,
                                      uint64_t destinations)

Arguments:

context_name
The context name to match.
destinations
The logging destination flags.

Library:

qh

Description:

Gets the highest level of verbosity available for a given set of destinations for contexts that match the specified name.

For context, specify all to match all contexts and default to return the verbosity for the default context.

Returns:

The highest verbosity level associated with the destinations.