nestlog: ++ README.md

This commit is contained in:
Roland Conybeare 2023-09-15 20:30:44 -04:00
commit 3437ef1b3f

View file

@ -2,6 +2,18 @@
Nestlog is a lightweight header-only library for console logging.
## Features
- easy-to-read format uses indenting to show call structure.
indentation has user-controlled upper limit to preserve readability with
deeply nested call graphs
- colorized output using vt100 color codes (ansi or xterm)
- automatically captures + displays timestamp, function name and code location.
supports several function-name formats to reflect tradeoff readability for precision
- application code may issue logging code that contains embedded newlines;
logger preserves indentation.
- logger is 'truthy', so you only pay for formatting for entry points that are enabled.
## Examples
### 1