flinklib
flinklib: flink C library for Linux
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
log.h
Go to the documentation of this file.
1
/*******************************************************************
2
* _________ _____ _____ ____ _____ ___ ____ *
3
* |_ ___ | |_ _| |_ _| |_ \|_ _| |_ ||_ _| *
4
* | |_ \_| | | | | | \ | | | |_/ / *
5
* | _| | | _ | | | |\ \| | | __'. *
6
* _| |_ _| |__/ | _| |_ _| |_\ |_ _| | \ \_ *
7
* |_____| |________| |_____| |_____|\____| |____||____| *
8
* *
9
*******************************************************************
10
* *
11
* fLink userspace library, logging *
12
* *
13
*******************************************************************/
14
21
#ifndef FLINKLIB_LOGGING_H_
22
#define FLINKLIB_LOGGING_H_
23
24
#include <stdio.h>
25
26
#define PRINT_ERRORS_TO_STDERR 1
27
#define DEBUG 0
28
29
#define dbg_print(fmt, ...) do { if(DEBUG) { printf("[flinklib] DEBUG: "); printf(fmt, ##__VA_ARGS__); } } while(0)
30
31
#endif // FLINKLIB_LOGGING_H_
lib
log.h
Generated on Sun Apr 5 2015 12:38:32 for flinklib by
1.8.6