[−][src]Function roa::logger::logger
pub async fn logger<S: State>(__arg0: Context<S>, next: Next) -> Result
A middleware to log information about request and response.
Based on crate log
, the log level must be greater than INFO
to log all information,
and should be greater than ERROR
when you need error information only.