Skip to content

Commit

Permalink
改进
Browse files Browse the repository at this point in the history
  • Loading branch information
yunwuxin committed Aug 11, 2023
1 parent f978e47 commit 668eaeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware/TraceRequests.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function handle($request, Closure $next)
HTTP_METHOD => $request->method(),
HTTP_URL => $request->baseUrl(true),
'http.ip' => $request->ip(),
'http.params' => json_encode($request->param()),
'http.params' => json_encode($request->param(), JSON_ERROR_NONE | JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE),
],
]
);
Expand Down

0 comments on commit 668eaeb

Please # to comment.