Renamed log_trace() to log()

This commit is contained in:
2016-08-10 20:21:54 +03:00
parent 65b923cba8
commit dcd7a46d0a
10 changed files with 100 additions and 97 deletions

17
log.h Normal file
View File

@@ -0,0 +1,17 @@
#ifndef LOG_TRACE_H
#define LOG_TRACE_H
#undef log
#define log log_trace
typedef enum {
ERROR = 1, /* Errors only */
WARNING, /* Errors & warnings */
INFO, /* Errors, warnings & events */
VERBOSE, /* Errors, warnings, events & more? */
} LOG_LEVEL;
void log_ssl(void);
void log(LOG_LEVEL lvl, char *fmt, ... );
#endif /* LOG_TRACE_H */