19 ms·
This is called "Structured Logging" and there's lots of articles already about it, and libraries to support it. For example, a great structured logging logging
by jasonpeacock 4y ago
This is called "Structured Logging" and there's lots of articles already about it, and libraries to support it.
For example, a great structured logging logging library for Python:
https://www.structlog.org/en/stable/ https://www.structlog.org/en/stable/