feat(depth_marks): atomic styling of depth marks

Color each `{depth_marks}` with the corresponding `depth_styles`.
Implements #8
This commit is contained in:
Johann Dreo 2023-01-29 08:06:44 +01:00
commit 0b970fc2ee
4 changed files with 35 additions and 15 deletions

View file

@ -34,7 +34,7 @@ int main(/*const int argc, char* argv[]*/)
fmt reset(typo::reset);
std::ostringstream tpl;
tpl << "{level_fmt}Having a {level} {filehash_fmt}within {file} {funchash_fmt}calling {func} {depth_fmt}at level {depth}"
tpl << "{level_fmt}Having a {level} {filehash_fmt}within {file} {funchash_fmt}calling {func} {depth_fmt}at depth {depth_marks} {depth} "
<< reset << " : {msg}\n";
log.format(tpl.str());
log.threshold(clutchlog::level::xdebug);