gatus icon indicating copy to clipboard operation
gatus copied to clipboard

Switch to Go's new built-in slog for logging

Open onedr0p opened this issue 4 months ago • 2 comments

Describe the feature request

Golang 1.21 added a very nice built-in logging library, it could be used in favor of https://github.com/TwiN/logr

https://go.dev/blog/slog

Why do you personally want this feature to be implemented?

Reduce external dependencies and reduce tech debt

How long have you been using this project?

2 years

Additional information

Only a suggestion, feel free to ignore :)

onedr0p avatar Aug 04 '25 13:08 onedr0p

I'm not against the idea. Honestly, I've seen slog used so rarely that it didn't even crossed my mind, which was originally why I made a library for it, but I too like keeping dependencies minimal

TwiN avatar Aug 05 '25 18:08 TwiN

I think we're seeing a slow adoption on it because it's new (ish) and most people are used to 3rd party libraries.

onedr0p avatar Aug 05 '25 18:08 onedr0p