Commit graph

109 commits

Author SHA1 Message Date
Johann Dreo
c8d148cf97 fix(depth): avoid overflow when manually setting depth
Setting the depth to INTMAX was overflowing if strep calls was also set,
resulting in no log triggered.
2024-10-01 09:47:23 +02:00
Johann Dreo
28f50d0bad fix(depth): handle underflow gracefully v0.19
If asked for stripping more calls than the actual depth,
clutchlog was going in an infinite loop.
2024-09-21 11:07:51 +02:00
Johann Dreo
799ba17a18 fix(OFF): return values even when OFF v0.18 2024-09-10 16:26:08 +02:00
Johann Dreo
43028ec0d5 fix(OFF): return singleton even when OFF 2024-09-10 16:25:19 +02:00
Johann Dreo
36451de3c7 fix: avoid unecessary copy constructor 2024-09-10 16:24:23 +02:00
Johann Dreo
5609007da7 refactor(constructors): make all constructor explicits & use integral types 2024-09-10 16:23:03 +02:00
Johann Dreo
c9cb73990d update(docs) 2024-09-10 16:21:54 +02:00
Johann Dreo
bbc6ac32c3 doc(README): usage as a Git submodule 2024-09-10 11:35:22 +02:00
Johann Dreo
a4979bbf49 fix(cmake): correct way to add definition 2024-09-10 11:15:40 +02:00
Radoslaw Olko
7d0252b659 remove unneded assert 2023-06-28 19:11:14 +02:00
Radoslaw Olko
0d9d0fb65c add missing includes 2023-06-28 19:11:14 +02:00
71af681e78
refactor(doc): README/styling 2023-02-02 14:37:30 +01:00
fbdbc4ace5 bump to v0.17 v0.17 2023-01-31 00:09:18 +01:00
25b8adcae5 make the extravagant demo more extravagant 2023-01-31 00:07:11 +01:00
28205c42d5 feat(filename): adds filename shortening methods 2023-01-30 23:28:00 +01:00
026cfa7618 update the logo version 2023-01-30 22:21:32 +01:00
206fe1ab94 bump to v0.16 v0.16 2023-01-30 22:17:04 +01:00
2621e68c20 feat(depth): adds the CLUTCHLOGD macro
Allows to increase depth manually at log call.
Implements #9
2023-01-30 22:16:00 +01:00
d5aa2d829b feat(stack): adds a call macro with depth delta
Implements #9
2023-01-29 21:28:11 +01:00
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
286ab85aaa bump to v0.15 v0.15 2023-01-28 15:22:21 +01:00
c45080fc8e adds value-dependant template tags
Implements #4 #5 #7
2023-01-28 15:21:06 +01:00
cb5e28add8 update the extravagant demo to make a social banner 2023-01-25 09:49:25 +01:00
b883cfd963
fix(readme) typo 2023-01-23 22:47:00 +01:00
88f19df703 doc(readme): limitation with unicode templates and hfill v0.14 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
fee6c60176 bump to v0.13 v0.13 2023-01-23 17:40:22 +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 v0.12 2023-01-20 18:49:46 +01:00
3f7c89f3ce bump to v0.12 2023-01-20 18:48:15 +01:00
0a2dfdcdcd feat(hfill): adds hfill_min
Handle narrow terminals/outputs.
2023-01-20 18:43:30 +01:00
735e7ffb4d refactor(doc): better CSS and layout 2023-01-20 12:39:15 +01:00
b8488a23bb bump to v0.11.1 v0.11.1 2023-01-20 11:02:36 +01:00
dddaee0361 fix(hfill): handle very narrow terminals 2023-01-20 10:58:33 +01:00
56d8b977e0 bump logo to v0.11 2023-01-19 12:44:25 +01:00
5c68a0251f bump to v0.11 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
2d094b2637 bump to v0.10 v0.10 2022-09-07 23:08:14 +02:00
bd53f59dd9 update and refactor doc 2022-09-07 23:02:47 +02:00
669525c1d4 update doc 2022-09-07 22:55:15 +02:00
a52b260f1b fix const correctness 2022-09-07 22:55:01 +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
0fc2b0cc23 Merge branch 'master' of github.com:nojhan/clutchlog 2022-09-07 22:47:56 +02:00
4a87e4abab feat: adds strip_calls accessors 2022-09-07 22:45:33 +02:00
14047bdde4 fix: let default format have the {name} in release 2022-09-07 22:45:00 +02:00