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

Function show_log_level

lightningd/log.c:873–883  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

871}
872
873static bool show_log_level(char *buf, size_t len, const struct log_book *log_book)
874{
875 enum log_level l;
876
877 if (log_book->default_print_level)
878 l = *log_book->default_print_level;
879 else
880 l = DEFAULT_LOGLEVEL;
881 strncpy(buf, log_level_name(l), len);
882 return true;
883}
884
885static char *arg_log_prefix(const char *arg, struct log_book *log_book)
886{

Callers

nothing calls this directly

Calls 1

log_level_nameFunction · 0.85

Tested by

no test coverage detected