Enum LogLevel
#[repr(u8)]pub enum LogLevel {
Debug = 1,
Info = 2,
Warn = 3,
Error = 4,
Critical = 5,
Fatal = 7,
}Expand description
Pigweed’s standard log levels
Values are limited to 3 bits, to fit within the protobuf definition of
LogEntry’s line_level in pw_log_rpc. These levels correspond with the log
levels from Python’s logging library, but have different values. The
values match the C/C++ implementation of the pw_log module.
TODO: <pwbug.dev/314168783> - Add documentation on the meaning of the log levels once it is written for Pigweed in general.