5 #include <ctu_base_api.h>
#define STA_PRINTF(a, b)
mark a function as a printf style function
#define STA_FORMAT_STRING
mark a function parameter as a printf format string
#define IN_STRING
annotate a parameter as being a null terminated string
CT_BASE_API void ctu_log(STA_FORMAT_STRING const char *fmt,...)
log a message
CT_BASE_API verbose_t gVerboseCallback
the global verbose logging callback
CT_BASE_API void ctu_vlog(const char *fmt, va_list args)
log a message
CT_BASE_API void ctu_log_update(bool enable)
update the verbosity of the logging system
CT_BASE_API bool ctu_log_enabled(void)
check if verbose logging is enabled
void(* verbose_t)(const char *fmt, va_list args)
a logging callback
CT_NODISCARD STA_FORMAT_STRING const char * fmt