libcontrac
A library for contact tracing
log.h
Go to the documentation of this file.
1 
23 #ifndef __LOG_H
24 #define __LOG_H
25 
26 // Includes
27 
28 #include <syslog.h>
29 
30 // Defines
31 
46 #define LOG(level, ...) log_priority(level, __VA_ARGS__);
47 
48 // Structures
49 
50 // Function prototypes
51 
52 void log_priority(int priority, const char *format, ...);
53 
54 // Function definitions
55 
56 #endif // __LOG_H
57 
void log_priority(int priority, const char *format,...)
Definition: log.c:48