13 dc_log_null self = {};
20 dc_log_null self = {};
37 fprintf(
stream,
"dc_log_null { }");
43 #define DC_LOGGER dc_log_null
static DC_PUBLIC void dc_log_null_delete(dc_log_null *self)
static DC_PUBLIC void dc_log_null_log(dc_log_null *self, dc_log_location location, dc_log_level level, const char *const message,...)
static DC_PUBLIC void dc_log_null_debug(dc_log_null const *self, dc_debug_fmt fmt, FILE *stream)
static DC_PUBLIC dc_log_null dc_log_null_from_parent(dc_log_null *parent, dc_log_id id)
static DC_PUBLIC dc_log_null dc_log_null_new_global(dc_log_null_global_config config, dc_log_id id)
Debug format helpers for debug printin data structures.
#define DC_TRAIT_LOGGER(SELF)
static DC_PUBLIC FILE * stream(SELF *self)
#define DC_ZERO_SIZED(TYPE)
Zero sized types are useful as markers (e.g. for gdb printing, or to replace debug info structs.