| 370 | } |
| 371 | |
| 372 | void common_log_add(struct common_log * log, enum ggml_log_level level, const char * fmt, ...) { |
| 373 | va_list args; |
| 374 | va_start(args, fmt); |
| 375 | log->add(level, fmt, args); |
| 376 | va_end(args); |
| 377 | } |
| 378 | |
| 379 | void common_log_set_file(struct common_log * log, const char * file) { |
| 380 | log->set_file(file); |