Lines Matching defs:severity
56 * The constants for severity from <syslog.h> are reused, with a specific
59 * severity determines the importance of the event, and its addressibility by
60 * the administrator. Each severity level's use is defined below, along with
162 vlog_prefix(int severity, const char *prefix, const char *format, va_list args)
170 if (severity > st->st_log_level_min)
198 if (severity > st->st_log_level_min)
209 vsyslog(severity, format, args);
214 log_error(int severity, const char *format, ...)
219 vlog_prefix(severity, " ERROR", format, args);
225 log_framework(int severity, const char *format, ...)
230 vlog_prefix(severity, "", format, args);
239 * - severity >= LOG_DEBUG and
244 log_framework2(int severity, int flags, const char *format, ...)
248 if ((severity < LOG_DEBUG) ||
252 vlog_prefix(severity, "", format, args);
448 int severity;
475 severity = LOG_INFO;
512 severity = LOG_ERR;
525 * message to stderr only if the severity is lower than
528 if (!st->st_log_login_reached && severity > LOG_ERR) {
535 log_framework(severity, "%s %s\n",
551 log_console(int severity, const char *format, ...)
556 vlog_prefix(severity, "", format, args);
570 * LOG_NOTICE and above are passed through, but lower severity messages are