C SIGFOX CALLBACK  0.0.1
A Sigfox Callback program writtent in C
Macros
logging.h File Reference

Logging functions. More...

#include <stdio.h>

Go to the source code of this file.

Macros

#define iprintf(format, ...)    fprintf(stdout, "INFO: " format, ## __VA_ARGS__)
 Print an information on the standard output. More...
 
#define eprintf(format, ...)    fprintf(stdout, "\e[1;31mERROR:\e[0m " format, ## __VA_ARGS__)
 Print an error on the standard error output. More...
 
#define cprintf(format, ...)    fprintf(stdout, "\e[1;33mCAUTION:\e[0m " format, ## __VA_ARGS__)
 Print a warning (caution) on the standard output. More...
 
#define gprintf(format, ...)    fprintf(stdout, format, ## __VA_ARGS__)
 Print on the standard output. More...
 

Detailed Description

Logging functions.

Author
hbuyse
Date
17/06/2016

Macro Definition Documentation

#define cprintf (   format,
  ... 
)    fprintf(stdout, "\e[1;33mCAUTION:\e[0m " format, ## __VA_ARGS__)

Print a warning (caution) on the standard output.

Parameters
formatThe format
...The list of the arguments
#define eprintf (   format,
  ... 
)    fprintf(stdout, "\e[1;31mERROR:\e[0m " format, ## __VA_ARGS__)

Print an error on the standard error output.

Parameters
formatThe format
...The list of the arguments
#define gprintf (   format,
  ... 
)    fprintf(stdout, format, ## __VA_ARGS__)

Print on the standard output.

Parameters
formatThe format
...The list of the arguments
#define iprintf (   format,
  ... 
)    fprintf(stdout, "INFO: " format, ## __VA_ARGS__)

Print an information on the standard output.

Parameters
formatThe format
...The list of the arguments