pub struct Builder { /* private fields */ }
Implementations§
Source§impl Builder
impl Builder
pub fn new() -> Builder
Sourcepub fn format<F: FtLogFormat + 'static>(self, format: F) -> Builder
pub fn format<F: FtLogFormat + 'static>(self, format: F) -> Builder
Set custom formatter
Sourcepub fn max_log_level(self, level: LevelFilter) -> Builder
pub fn max_log_level(self, level: LevelFilter) -> Builder
Set max log level Logs with level more verbose than this will not be sent to log thread.
Sourcepub fn root_log_level(self, level: LevelFilter) -> Builder
pub fn root_log_level(self, level: LevelFilter) -> Builder
Set max log level
Logs with level more verbose than this will not be sent to log thread.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Builder
impl !RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl !UnwindSafe for Builder
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