4 ms·
Tldr; just use slog package (structured logs) to log everything and then visualize.
by patrulek 2y ago
Tldr; just use slog package (structured logs) to log everything and then visualize.
- valyala 2y agoThis works only for Go language, which provides slog package ( https://go.dev/blog/slog https://go.dev/blog/slog ). What about other programming languages?
- deltaknight 2y agoStructured 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.