6 static void default_verbose(
const char *
fmt, va_list args)
13 static bool gVerboseEnabled =
false;
17 gVerboseEnabled = enable;
22 return gVerboseEnabled;
#define STA_DECL
sal2 annotation on function implementations to copy annotations from the declaration
verbose_t gVerboseCallback
the global verbose logging callback
STA_DECL void ctu_vlog(const char *fmt, va_list args)
log a message
void ctu_log_update(bool enable)
update the verbosity of the logging system
bool ctu_log_enabled(void)
check if verbose logging is enabled
void(* verbose_t)(const char *fmt, va_list args)
a logging callback
#define CT_UNUSED(x)
mark a variable as unused
CT_NODISCARD STA_FORMAT_STRING const char * fmt
STA_DECL void ctu_log(const char *fmt,...)