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.

Place
Golab #2
Length
60 min
When
November 21st, 2023
16:00

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.

Stay connected

You can subscribe to our newsletter to stay updated on the latest news and announcements. Follow us on social media to join our community and engage with other attendees, speakers, and staff. We're on Twitter, Mastodon, Youtube and Facebook. Don't forget to use our official hashtag #GoLab2023 to share your experience and connect with other attendees on social media.

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.
©2023 GoLab | The international conference on Go in Florence-Design & devCantiere Creativo-Made withDatoCMS