| 688 | } |
| 689 | |
| 690 | void command_log(struct command *cmd, enum log_level level, |
| 691 | const char *fmt, ...) |
| 692 | { |
| 693 | const char *msg; |
| 694 | va_list ap; |
| 695 | |
| 696 | va_start(ap, fmt); |
| 697 | msg = tal_vfmt(cmd, fmt, ap); |
| 698 | plugin_log(cmd->plugin, level, "JSON COMMAND %s: %s", |
| 699 | cmd->methodname, msg); |
| 700 | va_end(ap); |
| 701 | } |
| 702 | |
| 703 | struct command_result *command_check_done(struct command *cmd) |
| 704 | { |
nothing calls this directly
no test coverage detected