pub enum LogLevel {
Info,
Error,
Warn,
Debug,
Trace,
Mark,
}
Expand description
The LogLevel enum defines log levels for WASM modules to log appropriately to hosts.
Variants§
Info
Information-related messages
Error
Error output
Warn
Non-fatal warnings
Debug
Debug messages
Trace
Trace-level messages
Mark
Performance mark messages
Trait Implementations§
Auto Trait Implementations§
impl Freeze for LogLevel
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnwindSafe for LogLevel
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