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

Function status_fmt

devtools/mkcommit.c:32–45  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30static bool verbose = false;
31
32void status_fmt(enum log_level level,
33 const struct node_id *node_id,
34 const char *fmt, ...)
35{
36 if (verbose) {
37 va_list ap;
38
39 va_start(ap, fmt);
40 printf("#TRACE: ");
41 vprintf(fmt, ap);
42 printf("\n");
43 va_end(ap);
44 }
45}
46
47void status_failed(enum status_failreason reason, const char *fmt, ...)
48{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected