mirror of
https://github.com/troglobit/finit.git
synced 2026-10-28 12:30:44 +00:00
log: new function, log_parse()
Converts from syslog priority string format to facility and level. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
2 files changed
+71
No files matched your search
@@ -78,6 +78,7 @@ void log_init (void);
|
||||
void log_exit (void);
|
||||
|
||||
void log_debug(void);
|
||||
int log_parse(char *prio, int *facility, int *level);
|
||||
|
||||
void logit (int prio, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
|
||||
void flog (char *file, const char *fmt, ...) __attribute__ ((format (printf, 2, 3)));
|
||||
|
||||
Reference in new issue
Block a user