qh_log_get_verbosity()

Updated: April 19, 2023

Get the verbosity for the specified combination of context and destinations

Synopsis:

#include <qh/log.h>
uint64_t qh_log_get_verbosity(qh_log_context_t **context,
                              uint64_t destinations)

Arguments:

context
The context to get the verbosity for.
destinations
Logging destination flags.

Library:

qh

Description:

The qh_log_get_verbosity() function gets the highest level of verbosity available for the specified context and set of destinations. Specify NULL for context to get the highest verbosity for the default context.

Returns:

The highest verbosity level associated with the destinations.