We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 513d882 + 9615933 commit 4fa2becCopy full SHA for 4fa2bec
router.go
@@ -3,7 +3,7 @@
3
// license that can be found in the LICENSE file.
4
5
/*
6
-Package router 0.2.6 provides fast HTTP request router.
+Package router 0.2.7 provides fast HTTP request router.
7
8
The router matches incoming requests by the request method and the path.
9
If a handle is registered for this path and method, the router delegates the
@@ -183,7 +183,7 @@ func (r *Router) ServeHTTP(w http.ResponseWriter, req *http.Request) {
183
}
184
}()
185
if r.Logger {
186
- log.Println(req.Method, req.URL.Path)
+ log.Println(req.RemoteAddr, req.Method, req.URL.Path)
187
188
if _, ok := r.handlers[req.Method]; ok {
189
if handle, params, ok := r.handlers[req.Method].get(req.URL.Path); ok {
0 commit comments