cannon icon indicating copy to clipboard operation
cannon copied to clipboard

Do you have an equivalent library (or recommendation) for Go 1.21 log/slog?

Open StevenACoffman opened this issue 7 months ago • 1 comments

I have enjoyed using your library, but since log/slog package in Go 1.21, I have been considering switching projects from zap to slog, and I was curious if you have developed a log/slog equivalent or if you have found a recommended alternative?

StevenACoffman avatar May 19 '25 13:05 StevenACoffman

I've been away from doing go stuff for a while so I haven't done a great job maintaining this library. But from what I know about log/slog, it should be relatively easy to implement as a custom handler. If I have time this weekend, I'll take a look. I have a new side project that I'd rather use slog for.

BTBurke avatar May 20 '25 12:05 BTBurke