qh_log_get_destinations()

Updated: April 19, 2023

Get the destinations a specified context uses

Synopsis:

#include <qh/log.h>
uint64_t qh_log_get_destinations(qh_log_context_t **context)

Arguments:

context
The context to get the destinations for.

Library:

qh

Description:

This function gets the logging destination flags (e.g., QH_LOG_DEST_*) for a given context. Specify NULL for context to get the flags for the default context.

Returns:

The logging destination flags.