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

Function paymod_log

plugins/libplugin-pay.c:157–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155}
156
157static void
158paymod_log(struct payment *p, enum log_level l, const char *fmt, ...)
159{
160 const char *type;
161 u64 id;
162 char *txt;
163 va_list ap;
164
165 va_start(ap, fmt);
166 txt = tal_vfmt(tmpctx, fmt, ap);
167 va_end(ap);
168
169 paymod_log_header(p, &type, &id);
170 plugin_log(p->plugin, l, "%s %"PRIu64" partid %"PRIu32": %s",
171 type, id, p->partid, txt);
172}
173static void
174paymod_err(struct payment *p, const char *fmt, ...)
175{

Callers 15

channel_hints_updateFunction · 0.85
payment_route_feeFunction · 0.85
payment_getrouteFunction · 0.85
report_tamperingFunction · 0.85
handle_final_failureFunction · 0.85
payment_abortFunction · 0.85

Calls 2

paymod_log_headerFunction · 0.85
plugin_logFunction · 0.70

Tested by

no test coverage detected