Searched defs:priority (Results 1 - 2 of 2) sorted by relevance

/lxc/src/lxc/
H A Dlog.h84 int priority; member in struct:lxc_log_event
105 int priority; member in struct:lxc_log_category
115 * Returns true if the chained priority is equal to or higher than
116 * given priority.
120 int priority)
122 while (category->priority == LXC_LOG_PRIORITY_NOTSET &&
126 int cmp_prio = category->priority;
133 return priority >= cmp_prio;
137 * converts a priority to a literal string
139 static inline const char* lxc_log_priority_to_string(int priority) argument
119 lxc_log_priority_is_enabled(const struct lxc_log_category* category, int priority) argument
[all...]
H A Dlog.c65 if (event->priority < LXC_LOG_PRIORITY_ERROR)
220 lxc_log_priority_to_string(event->priority),
252 .priority = LXC_LOG_PRIORITY_ERROR,
259 .priority = LXC_LOG_PRIORITY_ERROR,
447 const char *priority, const char *prefix, int quiet,
458 if (priority)
459 lxc_priority = lxc_log_priority_to_int(priority);
462 lxc_log_category_lxc.priority = lxc_priority;
522 ERROR("invalid log priority %d", level);
531 return lxc_log_category_lxc.priority;
446 lxc_log_init(const char *name, const char *file, const char *priority, const char *prefix, int quiet, const char *lxcpath) argument
[all...]

Completed in 8 milliseconds