Hacker News new | ask | show | jobs
by patrulek 546 days ago
Tldr; just use slog package (structured logs) to log everything and then visualize.
1 comments

This works only for Go language, which provides slog package ( https://go.dev/blog/slog ). What about other programming languages?
Structured logging is very common in many languages. Off the top of my head, in C#/.NET Serilog has been doing structured logging for a long time. Modern .NET has structured logging in its standard lib. Rust’s tracing lib also supports proper structured logging.