From f9ef7b65ec1d464edc32847b69eb073f936c7e30 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 9 Nov 2024 21:39:13 -0300 Subject: src/glaze.go: Turn UUID into string for log --- src/glaze.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/glaze.go b/src/glaze.go index 69e8458..efb9ab9 100644 --- a/src/glaze.go +++ b/src/glaze.go @@ -203,7 +203,7 @@ func handlerForDynPath(path string) (pathInfo, func(pathInfo, http.ResponseWrite func handlerFor(path string) http.Handler { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { - id := guuid.New() + id := guuid.New().String() g.Info("in-request", "in-request", "path", path, "id", id) defer g.Info("in-response", "in-response", "path", path, "id", id) -- cgit v1.2.3