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

Function json_stream_log_suppress_for_cmd

lightningd/jsonrpc.c:576–584  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

574}
575
576void json_stream_log_suppress_for_cmd(struct json_stream *js,
577 const struct command *cmd)
578{
579 const char *nm = cmd->json_cmd->name;
580 const char *s = tal_fmt(tmpctx, "Suppressing logging of %s command", nm);
581 log_io(cmd->jcon->log, LOG_IO_OUT, NULL, s, NULL, 0);
582 json_stream_log_suppress(js, strdup(nm));
583
584}
585
586static struct json_stream *json_start(struct command *cmd)
587{

Callers 1

json_getlogFunction · 0.70

Calls 2

json_stream_log_suppressFunction · 0.85
log_ioFunction · 0.70

Tested by

no test coverage detected