mirror of
https://github.com/jetzig-framework/jetzig.git
synced 2025-05-14 14:06:08 +00:00
Less noisy output for the logs in the test application
This commit is contained in:
parent
267bf44017
commit
a80f14fb79
@ -37,7 +37,7 @@ const TestMiddleware = struct {
|
||||
|
||||
pub fn afterRequest(middleware: *TestMiddleware, request: *jetzig.http.Request, result: *jetzig.caches.Result) !void {
|
||||
request.server.logger.debug("After request, custom data: {d}", .{middleware.my_data});
|
||||
request.server.logger.debug("{s}", .{result.value.content});
|
||||
request.server.logger.debug("{s}", .{result.value.content_type});
|
||||
}
|
||||
|
||||
pub fn deinit(middleware: *TestMiddleware, request: *jetzig.http.Request) void {
|
||||
|
Loading…
x
Reference in New Issue
Block a user