0b970fc2ee
feat(depth_marks): atomic styling of depth marks
...
Color each `{depth_marks}` with the corresponding `depth_styles`.
Implements #8
2023-01-29 08:06:44 +01:00
c45080fc8e
adds value-dependant template tags
...
Implements #4 #5 #7
2023-01-28 15:21:06 +01:00
b883cfd963
fix(readme) typo
2023-01-23 22:47:00 +01:00
88f19df703
doc(readme): limitation with unicode templates and hfill
2023-01-23 22:36:37 +01:00
c9d2cbce2f
fix images
2023-01-23 22:33:45 +01:00
3465bfa688
bump to v0.14
2023-01-23 22:31:42 +01:00
a6e593c37c
add screenshots to the README
2023-01-23 22:25:14 +01:00
fbb8318804
feat(template): adds the {level_short} template tag.
2023-01-23 22:24:25 +01:00
7955ec197f
feat(colors): adds 256 and 16M colors mode support in fmt
2023-01-23 17:36:55 +01:00
180f0c15af
use *spatial*
2023-01-20 19:05:05 +01:00
5ec589012d
fix(doc): max -> min
2023-01-20 18:49:46 +01:00
0a2dfdcdcd
feat(hfill): adds hfill_min
...
Handle narrow terminals/outputs.
2023-01-20 18:43:30 +01:00
5c68a0251f
bump to v0.11
2023-01-18 22:44:26 +01:00
1c6a6d8507
feats: adds {level_fmt} and fix hfill accordingly
...
Update t-demo to show more formatting.
2023-01-18 22:30:27 +01:00
bd53f59dd9
update and refactor doc
2022-09-07 23:02:47 +02:00
f8c76010fb
fix forgot hfill_style in example
2022-09-07 22:50:19 +02:00
88edbb70f0
refactor readme
...
- two "usage" sections
- complete examples
2022-09-07 22:48:39 +02:00
37f42b4ecb
change logo size in readme
2022-09-07 22:16:05 +02:00
8765a53dac
fix: adds hfill_max
...
- fix: get nb_columns from stderr instead of stdout.
- Avoid long hfill when standard output is redirected.
2022-09-07 22:12:49 +02:00
d3c65788bd
Merge branch 'master' of github.com:nojhan/clutchlog
2022-09-05 16:09:17 +02:00
9904034020
feat: add hfill_style
2022-09-05 16:08:55 +02:00
73e074ca5f
fix doc for CLUTCHLOG_DEFAULT_DEPTH_BUILT_NODEBUG
2022-09-03 19:05:15 +02:00
53c907511e
move the levels section in the readme
2022-09-01 23:07:40 +02:00
fc26a8af5a
feat: add the {hfill} format tag
...
and update the readme.
2022-09-01 22:45:38 +02:00
35e4b67861
release v0.8
...
- Adds logo.
2022-08-29 13:03:46 +02:00
76e4782cb0
feat(levels): easier threshold setting.
...
- Adds `threshold(string)` for easier level setting.
- Adds `levels()` to make it easy to test if a user-defined string is good.
- Move the log levels section up in the readme.
2022-08-29 10:24:17 +02:00
be48aad4ec
refactor(test): use simpler ASSERT wrapper
2022-08-29 09:47:58 +02:00
7b28105c19
better readme TOC
2022-01-04 22:04:16 +01:00
d1fa9bd896
fix grammar in readme
2022-01-04 22:01:22 +01:00
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