You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use warp::Filter;
// If using something like `pretty_env_logger`,
// view logs by setting `RUST_LOG=example::api`.
let log = warp::log("example::api");
let route = warp::any()
.map(warp::reply)
.with(log);
But looks like it logs just everything...
even if I add .with(log) to one route it logging every route ((
So question how can I log some routes or exclude some routes?
forward thank you...
The text was updated successfully, but these errors were encountered:
I have found a pretty usefull thing like
But looks like it logs just everything...
even if I add
.with(log)
to one route it logging every route ((So question how can I log some routes or exclude some routes?
forward thank you...
The text was updated successfully, but these errors were encountered: