slogtest Easy assertion of log/slog. Usage matcher := NewMatcher(t).WithMsg("test") defer matcher.Finish() // required logger := slog.New(matcher.Handler()) logger.Info("test")