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
sourceimpl LoggingSystem
impl LoggingSystem
Trait Implementations
sourceimpl Clone for LoggingSystem
impl Clone for LoggingSystem
sourcefn clone(&self) -> LoggingSystem
fn clone(&self) -> LoggingSystem
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for LoggingSystem
impl Debug for LoggingSystem
sourceimpl Default for LoggingSystem
impl Default for LoggingSystem
sourcefn default() -> LoggingSystem
fn default() -> LoggingSystem
Returns the “default value” for a type. Read more
sourceimpl<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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more