pub enum LogLevel {
Log,
Warn,
Error,
}Expand description
Log level for console entries, mirroring the web console API.
Each variant corresponds to a standard browser console method and is rendered with a distinct color in the vConsole panel.
Variants§
Log
Informational message (console.log), rendered in default text color.
Warn
Warning message (console.warn), rendered in yellow/amber.
Error
Error message (console.error), rendered in red.
Trait Implementations§
impl Copy for LogLevel
impl StructuralPartialEq for LogLevel
Auto Trait Implementations§
impl Freeze for LogLevel
impl RefUnwindSafe for LogLevel
impl Send for LogLevel
impl Sync for LogLevel
impl Unpin for LogLevel
impl UnsafeUnpin 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