Skip to main content

LogLevel

Type Alias LogLevel 

Source
pub type LogLevel = Severity;
Expand description

Logging level, alias for Severity

Aliased Type§

#[repr(u8)]
pub enum LogLevel { Debug = 1, Verbose = 2, Info = 3, Warning = 4, Error = 5, Critical = 6, }

Variants§

§

Debug = 1

The most verbose level, aka Trace

§

Verbose = 2

Verbose logging

§

Info = 3

Information level: warnings plus major events

§

Warning = 4

all errors and warnings, and no informational messages

§

Error = 5

errors only

§

Critical = 6

critical errors only