pub struct Builder { /* private fields */ }Expand description
The builder for the logger.
You can use builder() to get an instance of this.
Implementations§
Source§impl Builder
impl Builder
Sourcepub fn build(self) -> EguiLogger
pub fn build(self) -> EguiLogger
Returns the Logger. Useful if you want to add it to a multi-logger. See here for an example.
Sourcepub fn max_level(self, max_level: LevelFilter) -> Self
pub fn max_level(self, max_level: LevelFilter) -> Self
Sourcepub fn show_all_categories(self, show_all_categories: bool) -> Self
pub fn show_all_categories(self, show_all_categories: bool) -> Self
Whether to show all categories by default (versus only those that are explicitly enabled).
Defaults to true.
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