Port from logrus to log/slog
Review Request #2871 — Created Dec. 12, 2023 and submitted — Latest diff uploaded
This doesn't really take much advantage of structured logging beyond what is already done (
id
andidColor
), and consequently the log handler does not try to do any handling of anything more than that (i.e., grouping, or arbitrary attributes beyond those defined).One should maybe have a
Context
available to pass in, but there isn't one, and anyway, the log handler doesn't use it, so I've passed in aTODO
instead.Everything else is just normal import/rename changes.
Ran
go run . run