Set the log level of the global internal logger. This does not enable the selected categories. Use 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 btck_LoggingConnection instances.
Declared in <kernel/bitcoinkernel.h>
void
btck_logging_set_level_category(
btck_LogCategory category,
btck_LogLevel level);
| Name | Description |
|---|---|
| category [in] | 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. |
| level [in] | Log level at which the log category is set. |