e1bac0e970
fix: prefix variables within macro to avoid scope problems.
2021-12-19 14:04:34 +01:00
c871336f6d
feat: add the CLUTCHLOG_STRIP_CALLS macro
...
To configure the default number of levels removed from the calls stack depth computations.
2021-12-19 08:38:13 +01:00
44ffe6309a
fix {depth} display, warnings and doc
...
- fix call stack depth display with {depth}: remove (5) stripped depths.
- fix warnings in tests
- Explain CLUTCHLOG_HAVE_UNIX_SYSINFO in the README.
2021-12-19 08:30:19 +01:00
4b6858d526
Merge branch 'master' of github.com:nojhan/clutchlog
2021-06-02 16:06:22 +02:00
5f62668d82
fix typo in readme
2021-06-01 09:35:31 +02:00
68876a8230
small doc addition
...
remove ambiguity of doc about dump file comment
2021-05-29 21:54:14 +02:00
74c33f6371
add the CLUTCHCODE macro
2021-05-29 18:25:54 +02:00
978d3d9b66
feat add the CLUTCHFUNC macro
...
- Allow to (de)clutch any function call, like asserts.
- fix make max_buffer static const.
- feat make locate and scope_t public.
2020-11-01 19:22:17 +01:00
81e3f6fd03
fix a typo in the doc
2020-10-18 17:45:11 +02:00
2936c0363b
add macros to the doc
2020-10-18 17:20:14 +02:00
2a0b05f59f
add table of content to the doc
2020-10-18 17:08:09 +02:00
68f7b70f26
Add doxyfile documentation
2020-10-18 16:52:16 +02:00
d171c55284
fix: depth mark, feat: more levels, feat: level_of
...
- fix: the depth mark was not configurable,
- rename the "quiet" level as "critical",
- add the "note" log level,
- adds `level_of` to ease user input of log levels,
- explaing log levels semantics in the readme.
2020-10-18 15:42:24 +02:00
a93411c4f6
feat: add ANSI color/style formatting
...
- at some log levels by defaults,
- can be used within format
2020-10-17 22:24:21 +02:00
3a4bdc0d57
fix: portability patch for OS other than Linux
...
- Test for sys headers and disable depth/name if not found
- Update the doc and bump to 0.3.
2020-09-19 18:20:07 +02:00
243b22e4c1
feat: optimize out in Release builds
...
- fix: fastest scope matching,
- feat: try to allow the compiler to optimize out as many conditional statements as possible,
which allow to use clutchlog for progress-only messages in Release mode.
- feat: build_all.sh test script,
- fix: typo in macro declarations in builds without clutchlog,
- update the README accordingly.
2020-09-15 23:12:19 +02:00
a8755a3444
fix typo
2020-09-04 10:54:34 +02:00
75f18ea8a8
better readme
2020-09-04 10:51:58 +02:00
93402d0c4b
feat: full featured dump
2020-09-04 10:32:06 +02:00
7ef6459c35
clean-up refactoring and more detailed doc
2020-08-31 00:29:12 +02:00
e30a6b3e85
first import
2020-08-23 11:11:15 +02:00