Enum tauri_plugin_log::LogLevel
source · #[repr(u16)]pub enum LogLevel {
Trace,
Debug,
Info,
Warn,
Error,
}Expand description
An enum representing the available verbosity levels of the logger.
It is very similar to the log::Level, but serializes to unsigned ints instead of strings.
Variants§
Trace
The “trace” level.
Designates very low priority, often extremely verbose, information.
Debug
The “debug” level.
Designates lower priority information.
Info
The “info” level.
Designates useful information.
Warn
The “warn” level.
Designates hazardous situations.
Error
The “error” level.
Designates very serious errors.
Trait Implementations§
source§impl<'de> Deserialize<'de> for LogLevel
impl<'de> Deserialize<'de> for LogLevel
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
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