blob: dea112f9e5226742c6f675091649e743d30d8fb0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#ifndef LOG_H
#define LOG_H
#include <stdarg.h>
typedef enum log_output log_output;
enum log_output {
LOG_OUT_SYSLOG,
LOG_OUT_STDERR,
LOG_OUT_STDOUT,
LOG_OUT_NONE,
};
extern void vprintlog(log_output output_type, int priority, const char *fmt, va_list args);
extern void printlog(log_output output_type, int priority, const char *fmt, ...);
#endif
|