| 884 | } |
| 885 | |
| 886 | static 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 | |
| 898 | static char *arg_log_prefix(const char *arg, struct log_book *log_book) |
| 899 | { |
nothing calls this directly
no test coverage detected