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