Initial commit. It's far from finished.
This commit is contained in:
13
log_trace.h
Normal file
13
log_trace.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#ifndef LOG_TRACE_H
|
||||
#define LOG_TRACE_H
|
||||
|
||||
typedef enum {
|
||||
ERROR = 1, /* Errors only */
|
||||
WARNING, /* Errors & warnings */
|
||||
INFO, /* Errors, warnings & events */
|
||||
VERBOSE, /* Errors, warnings, events & more? */
|
||||
} LOG_LEVEL;
|
||||
|
||||
void log_trace(LOG_LEVEL lvl, char *fmt, ... );
|
||||
|
||||
#endif /* LOG_TRACE_H */
|
||||
Reference in New Issue
Block a user