Struct cyfs_debug::LogMiddleware
source · pub struct LogMiddleware { /* private fields */ }Expand description
Log all incoming requests and responses.
This middleware is enabled by default in Tide.
Examples
let mut app = tide::Server::new();
app.middleware(tide::log::LogMiddleware::new());Implementations§
source§impl LogMiddleware
impl LogMiddleware
Trait Implementations§
source§impl Clone for LogMiddleware
impl Clone for LogMiddleware
source§fn clone(&self) -> LogMiddleware
fn clone(&self) -> LogMiddleware
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for LogMiddleware
impl Debug for LogMiddleware
source§impl Default for LogMiddleware
impl Default for LogMiddleware
source§fn default() -> LogMiddleware
fn default() -> LogMiddleware
Returns the “default value” for a type. Read more