3 ms·
This is why I wrote SiftLog (for Python): https://github.com/papito/siftlog-py https://github.com/papito/siftlog-py It logs locally in plain text and in color,
by renegade-otter 3y ago
This is why I wrote SiftLog (for Python): https://github.com/papito/siftlog-py https://github.com/papito/siftlog-py
It logs locally in plain text and in color, for easy visual parsing, but in production - it's in JSON.
It also lets you add arbitrary one-time properties or "sticky" constants (environment, process ID), or dynamic properties based on current context of the logger, such as information specific to a specific user request.