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

Function arg_log_prefix

lightningd/log.c:898–903  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

896}
897
898static char *arg_log_prefix(const char *arg, struct log_book *log_book)
899{
900 tal_free(log_book->prefix);
901 log_book->prefix = tal_strdup(log_book, arg);
902 return NULL;
903}
904
905static bool show_log_prefix(char *buf, size_t len, const struct log_book *log_book)
906{

Callers

nothing calls this directly

Calls 1

tal_freeFunction · 0.85

Tested by

no test coverage detected