btck_logging_set_level_category

Function btck_logging_set_level_category 

Source
pub unsafe extern "C" fn btck_logging_set_level_category(
    category: btck_LogCategory,
    level: btck_LogLevel,
)
Expand description

@brief Set the log level of the global internal logger. This does not enable the selected categories. Use @ref btck_logging_enable_category to start logging from a specific, or all categories. This changes a global setting and will override settings for all existing @ref btck_LoggingConnection instances.

@param[in] category If btck_LogCategory_ALL is chosen, sets both the global fallback log level used by all categories that don’t have a specific level set, and also sets the log level for messages logged with the btck_LogCategory_ALL category itself. For any other category, sets a category-specific log level that overrides the global fallback for that category only.

@param[in] level Log level at which the log category is set.