Lines Matching defs:severity
82 vlogger(int severity, int domain, const char *fmt, va_list args)
90 if (!((1 << domain) & logdomains) || (severity > threshold))
130 DPRINTF(int severity, int domain, const char *fmt, ...)
135 vlogger(severity, domain, fmt, ap);
142 int severity;
146 severity = E_LOG;
148 severity = E_WARN;
150 severity = E_DBG;
152 severity = E_SPAM;
154 severity = E_LOG;
156 vlogger(severity, L_FFMPEG, fmt, ap);
160 logger_libevent(int severity, const char *msg)
162 switch (severity)
165 severity = E_DBG;
169 severity = E_LOG;
173 severity = E_WARN;
177 severity = E_INFO;
181 severity = E_LOG;
185 DPRINTF(severity, L_EVENT, "%s\n", msg);
247 logger_init(char *file, char *domains, int severity)
259 threshold = severity;