20subsys_logging_initialize(
void)
28subsys_logging_shutdown(
void)
35logging_metrics_get_stores(
void)
44 METRICS_NAME(bug_reached_count),
45 "Total number of BUG() and similar assertion reached",
64 .initialize = subsys_logging_initialize,
65 .shutdown = subsys_logging_shutdown,
66 .get_metrics = logging_metrics_get_stores,
const char * escaped(const char *s)
void init_logging(int disable_startup_queue)
Declare subsystem object for the logging module.
metrics_store_t * metrics_store_new(void)
metrics_store_entry_t * metrics_store_add(metrics_store_t *store, metrics_type_t type, const char *name, const char *help, size_t bucket_count, const int64_t *buckets)
void metrics_store_reset(metrics_store_t *store)
Header for lib/metrics/metrics_store.c.
void metrics_store_entry_update(metrics_store_entry_t *entry, const int64_t value)
static metrics_store_t * the_store
smartlist_t * smartlist_new(void)
void smartlist_add(smartlist_t *sl, void *element)
Types used to declare a subsystem.
#define SUBSYS_DECLARE_LOCATION()
Macros to manage assertions, fatal and non-fatal.