News for hackers. Stuff that matters.
Re:Build It Yourself by LinXitoW on Friday January 24, 2025 @04:00PM (#42816884)
The built-in "logging" in Go is barely more than a fancy Println. For example, where are the levels, like DEBUG and WARN?
Re:Build It Yourself by nickzelei on Friday January 24, 2025 @08:19PM (#42818542)
Re:Build It Yourself by jcgl on Saturday January 25, 2025 @06:19AM (#42820978)
The slog (structured logging) package of the stdlib has those, I believe. As well as support for custom levels.