diff --git a/src/http/routing.zig b/src/http/routing.zig index 3b7a84e..27deb68 100644 --- a/src/http/routing.zig +++ b/src/http/routing.zig @@ -74,6 +74,7 @@ pub fn Router(comptime ServerContext: type, comptime RequestContext: type) type if (req_segments.next() != null) return error.RouteNotApplicable; + std.log.debug("selected route {s} {s}", .{ @tagName(route.method), route.path }); return route.handler(sctx, rctx, args); } };