Skip to main content

ferroui_base/logging/
log_event_level.rs

1/// Specifies the meaning and relative importance of a log event.
2#[repr(i32)]
3#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord)]
4pub enum LogEventLevel {
5    /// Anything and everything you might want to know about a running block
6    /// of code.
7    Verbose = 0,
8
9    /// Internal system events that aren't necessarily observable from the
10    /// outside.
11    Debug = 1,
12
13    /// The lifeblood of operational intelligence - things happen.
14    Information = 2,
15
16    /// Service is degraded or endangered.
17    Warning = 3,
18
19    /// Functionality is unavailable, invariants are broken or data is lost.
20    Error = 4,
21
22    /// If you have a pager, it goes off when one of these occurs.
23    Fatal = 5,
24}