Lines Matching defs:priority
99 char *priority = strchr(option, '.');
100 if (priority == NULL) {
105 return lookup_mapping(sPriorities, ++priority);
112 fprintf(stderr, "usage: %s [-i] [-t <tag>] [-p <[facility.]priority>] "
118 " -p\tSets the facility and priority this is logged under.\n"
122 " \t<priority> can be one of:\n"
136 int priority = DEFAULT_PRIORITY;
152 case 'p': // facility/priority
154 priority = get_priority(optarg);
198 syslog(priority, "%s", buffer);
205 syslog(priority, "%s", buffer);