Lines Matching refs:priority
348 ** with priority level
383 void lg_mesg (int priority, char *fmt, ...)
391 assert (priority >= LG_DEBUG && priority <= LG_FATAL);
395 dbg_val3 ("syslog = %d prio = %d >= sysmin = %d\n", lg_syslogging, priority, lg_minsyslevel);
396 if ( lg_syslogging && priority >= lg_minsyslevel )
399 snprintf (format, sizeof (format), "%s: %s", lg_lvl2str(priority), fmt);
403 vsyslog (lg_lvl2syslog (priority), fmt, ap);
407 dbg_val3 ("filelg = %d prio = %d >= filmin = %d\n", lg_fp!=NULL, priority, lg_minfilelevel);
408 if ( lg_fp && priority >= lg_minfilelevel )
424 fprintf (lg_fp, "%s: ", lg_lvl2str(priority));
432 if ( priority >= LG_ERROR )