2016-09-05 19:47:26 +00:00
|
|
|
/**
|
2016-09-11 20:20:15 +00:00
|
|
|
* Author......: See docs/credits.txt
|
2016-09-05 19:47:26 +00:00
|
|
|
* License.....: MIT
|
|
|
|
*/
|
|
|
|
|
2016-09-06 16:44:05 +00:00
|
|
|
#ifndef _LOGGING_H
|
|
|
|
#define _LOGGING_H
|
2016-09-05 19:47:26 +00:00
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <stdarg.h>
|
|
|
|
|
|
|
|
int log_out_nn (FILE *fp, const char *fmt, ...);
|
|
|
|
int log_info_nn (const char *fmt, ...);
|
|
|
|
int log_error_nn (const char *fmt, ...);
|
|
|
|
|
|
|
|
int log_out (FILE *fp, const char *fmt, ...);
|
|
|
|
int log_info (const char *fmt, ...);
|
|
|
|
int log_error (const char *fmt, ...);
|
2016-09-06 16:44:05 +00:00
|
|
|
|
|
|
|
#endif // _LOGGING_H
|