Skip to content

Commit

Permalink
Update README.md with LOG_MACRO_APPEND_STR
Browse files Browse the repository at this point in the history
  • Loading branch information
ErezBinyamin authored Oct 2, 2023
1 parent 3702997 commit bf92ac2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,11 @@ LOG_INFO("Message 3");
The Default `LOG_PREAMBLE` calls other macros and functions. _Note_ the comma separated fields will be space delimeted as they are inputs to the `LOG_XXXX(...)` macro.
```C++
#define LOG_PREAMBLE LOG_SHORT_FILENAME, xstr(L.__LINE__), __func__, ":"
#define LOG_PREAMBLE LOG_SHORT_FILENAME, LOG_MACRO_APPEND_STR(L.__LINE__), __func__, ":"
```

> The `LOG_MACRO_APPEND_STR()` macro will append a string to the result of a second macro
### Assertion

`ASSERT` suspends program if the provided condition is `false`
Expand Down

0 comments on commit bf92ac2

Please sign in to comment.