#[repr(transparent)]pub struct LogLevel(pub c_uint);
Expand description
Enumerates log levels.
You are advised to select log levels based on their respective usage scenarios:
- DEBUG: used for debugging and disabled from commercial releases
- INFO: used for logging important system running status and steps in key processes
- WARN: used for logging unexpected exceptions that have little impact on user experience and can automatically recover. Logs at this level are generally output when such exceptions are detected and captured.
- ERROR: used for logging malfunction that affects user experience and cannot automatically recover
- FATAL: used for logging major exceptions that have severely affected user experience and should not occur.
Available since API-level: 8
Tuple Fields§
§0: c_uint
Implementations§
Trait Implementations§
impl Copy for LogLevel
impl Eq 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 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