Renamed log_trace() to log()
This commit is contained in:
17
log.h
Normal file
17
log.h
Normal 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 */
|
||||
Reference in New Issue
Block a user