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

Function maybe_notify_log

lightningd/log.c:622–632  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

620}
621
622static void maybe_notify_log(struct logger *log,
623 const struct log_hdr *l,
624 const char *logmsg)
625{
626 if (l->level >= log->print_level)
627 notify_log(log->log_book->ld,
628 l->level,
629 l->time,
630 l->prefix->prefix,
631 logmsg);
632}
633
634static void init_log_hdr(const struct logger *log,
635 struct log_hdr *l,

Callers 1

logvFunction · 0.85

Calls 1

notify_logFunction · 0.70

Tested by

no test coverage detected