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

Function maybe_notify_log

lightningd/log.c:613–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

611}
612
613static void maybe_notify_log(struct logger *log,
614 const struct log_hdr *l,
615 const char *logmsg)
616{
617 if (l->level >= log->print_level)
618 notify_log(log->log_book->ld,
619 l->level,
620 l->time,
621 l->prefix->prefix,
622 logmsg);
623}
624
625static void init_log_hdr(const struct logger *log,
626 struct log_hdr *l,

Callers 1

logvFunction · 0.85

Calls 1

notify_logFunction · 0.70

Tested by

no test coverage detected