feat(depth_marks): atomic styling of depth marks
Color each `{depth_marks}` with the corresponding `depth_styles`.
Implements #8
This commit is contained in:
parent
286ab85aaa
commit
0b970fc2ee
4 changed files with 35 additions and 15 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue