feat: add the CLUTCHLOG_STRIP_CALLS macro
To configure the default number of levels removed from the calls stack depth computations.
This commit is contained in:
parent
26a5461cc4
commit
c871336f6d
46 changed files with 880 additions and 833 deletions
|
|
@ -181,6 +181,10 @@ and its default with the `CLUTCHLOG_DEFAULT_DEPTH_MARK` macro:
|
|||
log.depth_mark(CLUTCHLOG_DEFAULT_DEPTH_MARK); // Defaults to ">".
|
||||
```
|
||||
|
||||
By default, clutchlog removes 5 levels of the calls stack, so that your `main`
|
||||
entrypoint corresponds to a depth of zero.
|
||||
You can change this behaviour by defining the `CLUTCHLOG_STRIP_CALLS` macro.
|
||||
|
||||
|
||||
Output style
|
||||
------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue