Better debug logging + unit tests
This commit is contained in:
+1
-1
@@ -45,7 +45,7 @@ func (group *RouterGroup) Group(relativePath string, handlers ...HandlerFunc) *R
|
||||
func (group *RouterGroup) Handle(httpMethod, relativePath string, handlers HandlersChain) {
|
||||
absolutePath := group.calculateAbsolutePath(relativePath)
|
||||
handlers = group.combineHandlers(handlers)
|
||||
debugRoute(httpMethod, absolutePath, handlers)
|
||||
debugPrintRoute(httpMethod, absolutePath, handlers)
|
||||
group.engine.handle(httpMethod, absolutePath, handlers)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user