#[repr(u8)]pub enum Priority {
_Unknown = 0,
_Default = 1,
Verbose = 2,
Debug = 3,
Info = 4,
Warn = 5,
Error = 6,
_Fatal = 7,
_Silent = 8,
}Expand description
Log priority levels as defined by Android’s logd.
These priority levels correspond to Android’s logging levels and are used to categorize log messages by severity. The standard Rust log levels are automatically mapped to these Android priorities.
§Mapping from Rust log levels
log::Level::Error→Priority::Errorlog::Level::Warn→Priority::Warnlog::Level::Info→Priority::Infolog::Level::Debug→Priority::Debuglog::Level::Trace→Priority::Verbose
Variants§
_Unknown = 0
Unknown priority (internal use only, not for application use).
_Default = 1
Default priority (internal use only, not for application use).
Verbose = 2
Verbose log level - detailed diagnostic information.
Debug = 3
Debug log level - debugging information useful during development.
Info = 4
Info log level - informational messages about normal operation.
Warn = 5
Warning log level - warning messages about potential issues.
Error = 6
Error log level - error messages about failures.
_Fatal = 7
Fatal log level (internal use only, not for application use).
_Silent = 8
Silent priority (internal use only, not for application use).