@@ -68,7 +68,8 @@ The loglevels available are
68
68
* 2 - LOG_LEVEL_ERROR all errors
69
69
* 3 - LOG_LEVEL_WARNING errors, and warnings
70
70
* 4 - LOG_LEVEL_NOTICE errors, warnings and notices
71
- * 5 - LOG_LEVEL_VERBOSE all
71
+ * 5 - LOG_LEVEL_TRACE errors, warnings, notices & traces
72
+ * 6 - LOG_LEVEL_VERBOSE all
72
73
```
73
74
74
75
example
@@ -84,11 +85,12 @@ if you want to fully remove all logging code, uncomment `#define DISABLE_LOGGING
84
85
The library allows you to log on different levels by the following functions
85
86
86
87
``` c++
87
- void error (const char * format, va_list logVariables);
88
- void debug (const char * format, va_list logVariables);
89
- void error (const char * format, va_list logVariables);
90
- void verbose(const char * format, va_list logVariables);
91
- void verbose(const char * format, va_list logVariables);
88
+ void fatal (const char * format, va_list logVariables);
89
+ void error (const char * format, va_list logVariables);
90
+ void warning (const char * format, va_list logVariables);
91
+ void notice (const char * format, va_list logVariables);
92
+ void trace (const char * format, va_list logVariables);
93
+ void verbose (const char * format, va_list logVariables);
92
94
```
93
95
94
96
where the format string can be used to format the log variables
0 commit comments