| 130 | } |
| 131 | |
| 132 | void status_io(enum log_level iodir, |
| 133 | const struct node_id *peer, |
| 134 | const char *who, |
| 135 | const void *data, size_t len) |
| 136 | { |
| 137 | report_logging_io("SIGUSR1"); |
| 138 | if (!logging_io) |
| 139 | return; |
| 140 | /* Horribly inefficient, but so is logging IO generally. */ |
| 141 | status_io_full(iodir, peer, who, tal_dup_arr(tmpctx, u8, data, len, 0)); |
| 142 | } |
| 143 | |
| 144 | void status_vfmt(enum log_level level, |
| 145 | const struct node_id *peer, |
no test coverage detected