commit | 6617f81370a5861792dff7374683064574a89c9d | [log] [tgz] |
---|---|---|
author | Jonathan Amsterdam <jba@google.com> | Tue Feb 28 16:11:06 2023 -0500 |
committer | Jonathan Amsterdam <jba@google.com> | Wed Mar 01 12:13:54 2023 +0000 |
tree | 7ce164c39e2900698369e00fff881831f095c05b | |
parent | 57d00d88b22de6891c471b4ac6d5f72cd58d24d3 [diff] |
internal/log: fix LineHandler Fix LineHandler to conform to the slog.Handler requirements: - Ignore zero times. - Process pre-supplied groups and Attrs in the right order (reversed). - Quote strings but not other values. Change-Id: I8d1f91ce33e27cc417b5c27dd65cff21a7684840 Reviewed-on: https://go-review.googlesource.com/c/pkgsite-metrics/+/472275 Reviewed-by: Zvonimir Pavlinovic <zpavlinovic@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Run-TryBot: Jonathan Amsterdam <jba@google.com>
This repository contains code that serves pkg.go.dev/metrics.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the time repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/pkgsite-metrics:” in the subject line, so it is easy to find.