Skip to content

Commit 02b1ca5

Browse files
authored
Update README.md
1 parent 9002a16 commit 02b1ca5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ if you want to fully remove all logging code, uncomment `#define DISABLE_LOGGING
8181

8282
The library allows you to log on different levels by the following functions
8383

84-
```
84+
```c++
8585
void error (const char *format, va_list logVariables);
8686
void debug (const char *format, va_list logVariables);
8787
void error (const char *format, va_list logVariables);
@@ -108,7 +108,7 @@ The format string may come from flash memory.
108108
109109
examples
110110
111-
```
111+
```c++
112112
Log.fatal (F("Log as Fatal with string value from Flash : %s"CR ) , "value" );
113113
Log.error ( "Log as Error with binary values : %b, %B"CR , 23 , 345808);
114114
Log.warning (F("Log as Warning with integer values from Flash : %d, %d"CR) , 34 , 799870);

0 commit comments

Comments
 (0)