pub struct LoggerPlugin;Expand description
The plugin that writes the log of the server.
Implementations§
Source§impl LoggerPlugin
impl LoggerPlugin
Sourcepub fn get() -> Option<&'static LoggerConfig>
pub fn get() -> Option<&'static LoggerConfig>
The configuration the logger works from.
§Returns
Option<&'static LoggerConfig>- The configuration, when it was set.
Trait Implementations§
Source§impl Clone for LoggerPlugin
impl Clone for LoggerPlugin
impl Copy for LoggerPlugin
Source§impl Debug for LoggerPlugin
impl Debug for LoggerPlugin
Source§impl Default for LoggerPlugin
impl Default for LoggerPlugin
Auto Trait Implementations§
impl Freeze for LoggerPlugin
impl RefUnwindSafe for LoggerPlugin
impl Send for LoggerPlugin
impl Sync for LoggerPlugin
impl Unpin for LoggerPlugin
impl UnsafeUnpin for LoggerPlugin
impl UnwindSafe for LoggerPlugin
Blanket Implementations§
impl<T> AnySend for T
impl<T> AnySendClone for T
impl<T> AnySendSync for T
impl<T> AnySendSyncClone for T
impl<T> AnySync for T
impl<T> AnySyncClone for T
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