pub struct Init;Expand description
Handle for configuring the logger after calling init.
Implementations§
Source§impl Init
impl Init
Sourcepub fn with_log_level(self, _level: LevelFilter) -> Self
pub fn with_log_level(self, _level: LevelFilter) -> Self
Set the maximum log level forwarded on non-browser targets, or the default level filter shown in the browser WebAssembly console.
In browser WebAssembly, all records are still captured and sent to the browser developer console; this only changes which levels are initially shown in Examplify’s DOM console.
Auto Trait Implementations§
impl Freeze for Init
impl RefUnwindSafe for Init
impl Send for Init
impl Sync for Init
impl Unpin for Init
impl UnsafeUnpin for Init
impl UnwindSafe for Init
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