qh_log_get_destinations_by_name()

Get logging destinations based on a context name

Synopsis:

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

Arguments:

context_name
The context name to match.

Library:

qh

Description:

Gets the logging destination flags (e.g., QH_LOG_DEST_*) for all contexts that match the specified name.

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

Returns:

The logging destination flags.