| 30 | static bool verbose = false; |
| 31 | |
| 32 | void status_fmt(enum log_level level, |
| 33 | const struct node_id *node_id, |
| 34 | const char *fmt, ...) |
| 35 | { |
| 36 | if (verbose) { |
| 37 | va_list ap; |
| 38 | |
| 39 | va_start(ap, fmt); |
| 40 | printf("#TRACE: "); |
| 41 | vprintf(fmt, ap); |
| 42 | printf("\n"); |
| 43 | va_end(ap); |
| 44 | } |
| 45 | } |
| 46 | |
| 47 | void status_failed(enum status_failreason reason, const char *fmt, ...) |
| 48 | { |
nothing calls this directly
no outgoing calls
no test coverage detected