Port from logrus to log/slog

Review Request #2871 — Created Dec. 12, 2023 and submitted

Information

grim/convey
default

Reviewers

This doesn't really take much advantage of structured logging beyond what is already done (id and idColor), 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 a TODO instead.

Everything else is just normal import/rename changes.

Ran go run . run

Summary ID
Port from logrus to log/slog
9d08ca69242778528c5f5a3b97ce11cbbc69a8d9
grim
  1. Awesome work, thank you so much!!

  2. 
      
grim
Review request changed

Status: Closed (submitted)

Loading...