Log chosen route

This commit is contained in:
jaina heartles 2022-07-10 15:24:54 -07:00
parent 8d71846826
commit 1bcbeb098e
1 changed files with 1 additions and 0 deletions

View File

@ -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);
}
};