Structured Logging for the Standard Library - Jonathan Amsterdam

preview_player
Показать описание
Go 1.21's standard library will feature a new structured logging package, named "slog". slog aims to be easy to use, flexible and fast. In this talk, I’ll describe the motivation for adding structured logging to the standard library, and I’ll cover the design and API of the package. Along the way, I’ll explain how the design achieves high performance.
Рекомендации по теме
Комментарии
Автор

Really good overview of the slog package! Loved the context for the technical decisions behind the API design and the implementation.

antonsankov
Автор

Loved the talk and the insights. The only slight issue I faced is that it could've been 2 minutes long if it just referred to the documentation.

dum.briyani
Автор

I couldn't deduce it from the presentation or read it quickly from the source code. Can I apply a group containing a group?

kjp