Log chosen route
This commit is contained in:
parent
8d71846826
commit
1bcbeb098e
1 changed files with 1 additions and 0 deletions
|
@ -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);
|
||||
}
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue