1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
/// DiagnosticLevel
#[derive(Debug, Copy, Clone)]
pub enum DiagnosticLevel {
    /// No special diagnostic
    None = 0,
    /// Error Message, red
    Error = 1,
    /// Warning Message, yellow
    Warning = 2,
    /// Notice Message, magenta
    Information = 3,
    /// Hint Message, dots
    Hint = 4,
}