Struct rtools::LogBuilder
source · pub struct LogBuilder { /* private fields */ }Implementations§
source§impl LogBuilder
impl LogBuilder
sourcepub fn builder() -> LogBuilderBuilder<((), (), (), (), (), ())>
pub fn builder() -> LogBuilderBuilder<((), (), (), (), (), ())>
Create a builder for building LogBuilder.
On the builder, call .location(...)(optional), .threads(...)(optional), .target(...)(optional), .level(...)(optional), .allow_filter(...)(optional), .ignore_filter(...)(optional) to set the values of the fields.
Finally, call .build() to create the instance of LogBuilder.
Auto Trait Implementations§
impl RefUnwindSafe for LogBuilder
impl Send for LogBuilder
impl Sync for LogBuilder
impl Unpin for LogBuilder
impl UnwindSafe for LogBuilder
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