MCPcopy Create free account
hub / github.com/ElementsProject/lightning / command_log

Function command_log

plugins/libplugin.c:690–701  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

688}
689
690void 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
703struct command_result *command_check_done(struct command *cmd)
704{

Callers

nothing calls this directly

Calls 1

plugin_logFunction · 0.70

Tested by

no test coverage detected