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

Function status_fmt

devtools/mkclose.c:18–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16static bool verbose = false;
17
18void status_fmt(enum log_level level,
19 const struct node_id *node_id,
20 const char *fmt, ...)
21{
22 if (verbose) {
23 va_list ap;
24
25 va_start(ap, fmt);
26 printf("#TRACE: ");
27 vprintf(fmt, ap);
28 printf("\n");
29 va_end(ap);
30 }
31}
32
33void status_failed(enum status_failreason reason, const char *fmt, ...)
34{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected