3 ms·
Still reading the post, but for anyone who is more interested in Structlog than this particular tutorial, here's their docs: https://www.structlog.org/en/stable
by bbor 2y ago
Still reading the post, but for anyone who is more interested in Structlog than this particular tutorial, here's their docs: https://www.structlog.org/en/stable/ https://www.structlog.org/en/stable/
Looks preeeetty cool. I rolled my own python logging system when I was using Textual and RichText, but the methods all revolved around style and flagging content. It never occurred to me structure logs in a way other than the (obviously, super noisy) call stack...
EDIT: Philosophy/"Why Structlog?" doc: https://www.structlog.org/en/stable/why.html https://www.structlog.org/en/stable/why.html
- esafak 2y agoStructured logging is a thing; there are such libraries for other languages too.