Add initial crypto functionality
[libcontrac.git] / include / contrac / log.h
1 /** \ingroup contrac
2 * @file
3 * @author David Llewellyn-Jones
4 * @version $(VERSION)
5 *
6 * @section LICENSE
7 *
8 *
9 *
10 * @brief
11 * @section DESCRIPTION
12 *
13 *
14 *
15 */
16
17 #ifndef __LOG_H
18 #define __LOG_H
19
20 // Includes
21
22 #include <syslog.h>
23
24 // Defines
25
26 #define LOG(level, ...) log_priority(level, __VA_ARGS__);
27
28 // Structures
29
30 // Function prototypes
31
32 void log_priority(int priority, const char *format, ...);
33
34 // Function definitions
35
36 #endif // __LOG_H