Skip to content

Commit c381379

Browse files
authored
Update README.md
1 parent 4a5205b commit c381379

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

README.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ The loglevels available are
6868
* 2 - LOG_LEVEL_ERROR all errors
6969
* 3 - LOG_LEVEL_WARNING errors, and warnings
7070
* 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
7273
```
7374

7475
example
@@ -84,11 +85,12 @@ if you want to fully remove all logging code, uncomment `#define DISABLE_LOGGING
8485
The library allows you to log on different levels by the following functions
8586

8687
```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);
9294
```
9395
9496
where the format string can be used to format the log variables

0 commit comments

Comments
 (0)