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

Function log_stderr

common/gossmap.c:1392–1406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1390}
1391
1392static void log_stderr(void *cb_arg,
1393 enum log_level level,
1394 const char *fmt,
1395 ...)
1396{
1397 va_list ap;
1398
1399 /* Don't spam stderr */
1400 if (level < LOG_UNUSUAL)
1401 return;
1402
1403 va_start(ap, fmt);
1404 vfprintf(stderr, fmt, ap);
1405 va_end(ap);
1406}
1407
1408struct gossmap *gossmap_load_(const tal_t *ctx,
1409 const char *filename,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected