pub struct RedoxLogger { /* private fields */ }Implementations§
Source§impl RedoxLogger
impl RedoxLogger
pub fn new() -> Self
pub fn with_output(self, output: Output) -> Self
pub fn with_min_level_override(self, min: LevelFilter) -> Self
pub fn with_max_level_override(self, max: LevelFilter) -> Self
pub fn with_process_name(self, name: String) -> Self
pub fn enable(self) -> Result<&'static Self, SetLoggerError>
Trait Implementations§
Source§impl Debug for RedoxLogger
impl Debug for RedoxLogger
Source§impl Default for RedoxLogger
impl Default for RedoxLogger
Source§fn default() -> RedoxLogger
fn default() -> RedoxLogger
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !Freeze for RedoxLogger
impl !RefUnwindSafe for RedoxLogger
impl Send for RedoxLogger
impl Sync for RedoxLogger
impl Unpin for RedoxLogger
impl UnsafeUnpin for RedoxLogger
impl !UnwindSafe for RedoxLogger
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