Hacker News new | ask | show | jobs
by bbor 748 days 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/

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

1 comments

Structured logging is a thing; there are such libraries for other languages too.