]>
git.proxmox.com Git - mirror_lxcfs.git/blob - macro.h
1 #ifndef __LXCFS_MACRO_H
2 #define __LXCFS_MACRO_H
4 #define lxcfs_debug_stream(stream, format, ...) \
6 fprintf(stream, "%s: %d: %s: " format, __FILE__, __LINE__, \
7 __func__, __VA_ARGS__); \
10 #define lxcfs_error(format, ...) lxcfs_debug_stream(stderr, format, __VA_ARGS__)
13 #define lxcfs_debug(format, ...) lxcfs_error(format, __VA_ARGS__)
15 #define lxcfs_debug(format, ...)
18 #endif /* __LXCFS_MACRO_H */