Lines Matching refs:level
317 void log_set_max_level(int level) {
318 assert((level & LOG_PRIMASK) == level);
320 log_max_level = level;
328 int level,
346 sprintf(prefix, "<%i>", level);
350 highlight = LOG_PRI(level) <= LOG_ERR && show_color;
388 int level,
411 xsprintf(header_priority, "<%i>", level);
451 int level,
467 xsprintf(header_priority, "<%i>", level);
485 int level,
499 LOG_PRI(level),
500 LOG_FAC(level),
522 int level,
538 log_do_header(header, sizeof(header), level, error, file, line, func, object_field, object);
555 int level,
570 if ((level & LOG_FACMASK) == 0)
571 level = log_facility | LOG_PRI(level);
592 k = write_to_journal(level, error, file, line, func, object_field, object, buffer);
603 k = write_to_syslog(level, error, file, line, func, object_field, object, buffer);
618 k = write_to_kmsg(level, error, file, line, func, object_field, object, buffer);
626 (void) write_to_console(level, error, file, line, func, object_field, object, buffer);
635 int level,
649 if (_likely_(LOG_PRI(level) > log_max_level))
652 return log_dispatch(level, error, file, line, func, NULL, NULL, buffer);
656 int level,
670 if (_likely_(LOG_PRI(level) > log_max_level))
679 return log_dispatch(level, error, file, line, func, NULL, NULL, buffer);
683 int level,
694 r = log_internalv(level, error, file, line, func, format, ap);
701 int level,
718 if (_likely_(LOG_PRI(level) > log_max_level))
741 return log_dispatch(level, error, file, line, func, object_field, object, buffer);
745 int level,
758 r = log_object_internalv(level, error, file, line, func, object_field, object, format, ap);
765 int level,
774 if (_likely_(LOG_PRI(level) > log_max_level))
783 log_dispatch(level, 0, file, line, func, NULL, NULL, buffer);
853 int level,
868 if (_likely_(LOG_PRI(level) > log_max_level))
874 if ((level & LOG_FACMASK) == 0)
875 level = log_facility | LOG_PRI(level);
891 log_do_header(header, sizeof(header), level, error, file, line, func, NULL, NULL);
938 return log_dispatch(level, error, file, line, func, NULL, NULL, buf + 8);
971 * level.
985 log_warning("Failed to parse log level '%s'. Ignoring.", value);
1016 log_warning("Failed to parse log level '%s'. Ignoring.", e);
1096 void log_received_signal(int level, const struct signalfd_siginfo *si) {
1102 log_full(level,
1107 log_full(level,
1119 int level,
1136 if (_likely_(LOG_PRI(level) > log_max_level))
1151 level, error,
1161 level, error,