| 370 | } |
| 371 | |
| 372 | void _mi_trace_message(const char* fmt, ...) { |
| 373 | if (mi_option_get(mi_option_verbose) <= 1) return; // only with verbose level 2 or higher |
| 374 | va_list args; |
| 375 | va_start(args, fmt); |
| 376 | mi_vfprintf_thread(NULL, NULL, "mimalloc: ", fmt, args); |
| 377 | va_end(args); |
| 378 | } |
| 379 | |
| 380 | void _mi_verbose_message(const char* fmt, ...) { |
| 381 | if (!mi_option_is_enabled(mi_option_verbose)) return; |
nothing calls this directly
no test coverage detected