Structured logging for the standard library

Go 1.21's standard library features a new structured logging package,  "log/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.

Abstract

Go 1.21's standard library features a new structured logging package,  "log/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. I’ll also discuss the community process that helped to shape the API, and explain how the design achieves high performance.

Video

GoLab is a conference made by Develer.
Develer is a company based in Campi Bisenzio, near Florence. Our motto is : "Technology to give life to your products". We produce hardware and software to create exceptional products and to improve industrial processes and people's well being.
In Develer we have passion for the new technologies and we offer our clients effective solutions that are also efficient, simple and safe for the end users. We also believe in a friendly and welcoming environment where anybody can give their contribution. This passion and this vision are what we've been driven to organize our conference "made by developers for developers".


Subscribe to our newsletter

We hate spam just as much as you do, which is why we promise to only send you relevant communications. We respect your privacy and will never share your information with third parties.
©2024 GoLab | The international conference on Go in Florence-Design & devCantiere Creativo-Made withDatoCMS