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.
This commit is contained in:
parent
6123490af6
commit
44ffe6309a
4 changed files with 63 additions and 2 deletions
|
|
@ -49,7 +49,7 @@ int main(const int argc, char* argv[])
|
|||
} else {
|
||||
try {
|
||||
log.threshold(log.level_of(argv[1]));
|
||||
} catch(std::out_of_range err) {
|
||||
} catch(std::out_of_range& err) {
|
||||
CLUTCHLOG(critical,err.what());
|
||||
exit(100);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue