pub enum LogLevel {
Error,
Warn,
Information,
Debug,
Trace,
}Expand description
Logging verbosity for SDK operations.
Variants§
Error
Emit error output only.
Warn
Emit warning and error output.
Information
Emit standard informational output.
Debug
Emit verbose debug output.
Trace
Emit verbose trace output.
Implementations§
Source§impl LogLevel
impl LogLevel
Sourcepub fn as_filter(self) -> LevelFilter
pub fn as_filter(self) -> LevelFilter
Convert the SDK log level to a log crate filter.
Sourcepub fn includes_debug(self) -> bool
pub fn includes_debug(self) -> bool
Whether debug-style messages should be emitted by the SDK.
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 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