| 16 | static bool verbose = false; |
| 17 | |
| 18 | void status_fmt(enum log_level level, |
| 19 | const struct node_id *node_id, |
| 20 | const char *fmt, ...) |
| 21 | { |
| 22 | if (verbose) { |
| 23 | va_list ap; |
| 24 | |
| 25 | va_start(ap, fmt); |
| 26 | printf("#TRACE: "); |
| 27 | vprintf(fmt, ap); |
| 28 | printf("\n"); |
| 29 | va_end(ap); |
| 30 | } |
| 31 | } |
| 32 | |
| 33 | void status_failed(enum status_failreason reason, const char *fmt, ...) |
| 34 | { |
nothing calls this directly
no outgoing calls
no test coverage detected