6 #ifdef RZ_ASSERT_STDOUT
7 static void stdout_log(
const char *
output,
const char *funcname,
const char *
filename,
static void print_message(RzLogLevel level, const char *fmt, va_list args)
RZ_API void rz_assert_log(RzLogLevel level, const char *fmt,...)
_Use_decl_annotations_ int __cdecl printf(const char *const _Format,...)
RZ_API void Ht_() free(HtName_(Ht) *ht)
enum rz_log_level RzLogLevel
RZ_API void rz_log_del_callback(RzLogCallback cbfunc)
Remove a logging callback.
RZ_API void rz_log_add_callback(RzLogCallback cbfunc)
Add a logging callback.
#define RZ_VLOG(lvl, tag, fmtstr, args)
#define rz_sys_breakpoint()
RZ_API char * rz_sys_getenv(const char *key)
Get the value of an environment variable named key or NULL if none exists.
RZ_API char RZ_API void rz_sys_backtrace(void)
Print the backtrace at the point this function is called from.