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

Function log_level_name

common/status_levels.c:15–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13};
14
15const char *log_level_name(enum log_level level)
16{
17 BUILD_ASSERT(ARRAY_SIZE(ll_names) == LOG_LEVEL_MAX+1);
18 if ((int)level <= LOG_LEVEL_MAX)
19 return ll_names[level];
20 return "***unknown***";
21}
22
23static bool streq_case(const char *str, const char *s, size_t len)
24{

Callers 7

hsmd_status_fmtFunction · 0.85
json_add_opt_log_levelsFunction · 0.85
show_log_levelFunction · 0.85
json_notify_fmtFunction · 0.85
opt_show_levelFunction · 0.85
plugin_notify_messageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected