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

Function show_log_level

lightningd/log.c:886–896  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

884}
885
886static bool show_log_level(char *buf, size_t len, const struct log_book *log_book)
887{
888 enum log_level l;
889
890 if (log_book->default_print_level)
891 l = *log_book->default_print_level;
892 else
893 l = DEFAULT_LOGLEVEL;
894 strncpy(buf, log_level_name(l), len);
895 return true;
896}
897
898static char *arg_log_prefix(const char *arg, struct log_book *log_book)
899{

Callers

nothing calls this directly

Calls 1

log_level_nameFunction · 0.85

Tested by

no test coverage detected