~repos /gromer
git clone https://pyrossh.dev/repos/gromer.git
gromer is a framework and cli to build multipage web apps in golang using htmx and alpinejs.
log full url
http.go
CHANGED
|
@@ -164,5 +164,5 @@ func LogReq(status int, r *http.Request) {
|
|
|
164
164
|
} else if r.Method == "DELETE" {
|
|
165
165
|
m = color.FgRed
|
|
166
166
|
}
|
|
167
|
-
log.Info().Msgf("%3s %s %s", color.New(a).Sprint(status), color.New(m).Sprintf("%-4s", r.Method), color.WhiteString(r.URL.
|
|
167
|
+
log.Info().Msgf("%3s %s %s", color.New(a).Sprint(status), color.New(m).Sprintf("%-4s", r.Method), color.WhiteString(r.URL.String()))
|
|
168
168
|
}
|