Struct summer_boot::log::LoggingSystem
source · pub struct LoggingSystem { /* private fields */ }Expand description
记录所有传入的请求和响应
此中间件在Summer Boot中默认启用
Examples
let mut app = summer_boot::new();
app.with(summer_boot::log::LoggingSystem::new());Implementations§
source§impl LoggingSystem
impl LoggingSystem
Trait Implementations§
source§impl Clone for LoggingSystem
impl Clone for LoggingSystem
source§fn clone(&self) -> LoggingSystem
fn clone(&self) -> LoggingSystem
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 LoggingSystem
impl Debug for LoggingSystem
source§impl Default for LoggingSystem
impl Default for LoggingSystem
source§fn default() -> LoggingSystem
fn default() -> LoggingSystem
Returns the “default value” for a type. Read more
source§impl<State: Clone + Send + Sync + 'static> Middleware<State> for LoggingSystem
impl<State: Clone + Send + Sync + 'static> Middleware<State> for LoggingSystem
Auto Trait Implementations§
impl RefUnwindSafe for LoggingSystem
impl Send for LoggingSystem
impl Sync for LoggingSystem
impl Unpin for LoggingSystem
impl UnwindSafe for LoggingSystem
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more