mirror of
https://github.com/DioxusLabs/dioxus
synced 2024-11-10 14:44:12 +00:00
add tracing to server function registration
This commit is contained in:
parent
194d90e66f
commit
30af559275
1 changed files with 1 additions and 0 deletions
|
@ -195,6 +195,7 @@ where
|
|||
use http::method::Method;
|
||||
|
||||
for (path, method) in server_fn::axum::server_fn_paths() {
|
||||
tracing::trace!("Registering server function: {} {}", method, path);
|
||||
let handler = move |req| handle_server_fns_inner(path, ||{}, req);
|
||||
self = match method {
|
||||
Method::GET => self.route(path, get(handler)),
|
||||
|
|
Loading…
Reference in a new issue