@@ -4,8 +4,8 @@ use tracing::Level;
4
4
5
5
#[ derive( Debug ) ]
6
6
pub ( crate ) enum NotificationLevel {
7
+ Trace ,
7
8
Debug ,
8
- Verbose ,
9
9
Info ,
10
10
Warn ,
11
11
Error ,
@@ -14,8 +14,8 @@ pub(crate) enum NotificationLevel {
14
14
impl fmt:: Display for NotificationLevel {
15
15
fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> fmt:: Result {
16
16
f. write_str ( match self {
17
+ NotificationLevel :: Trace => "trace" ,
17
18
NotificationLevel :: Debug => "debug" ,
18
- NotificationLevel :: Verbose => "verbose" ,
19
19
NotificationLevel :: Info => "info" ,
20
20
NotificationLevel :: Warn => "warning" ,
21
21
NotificationLevel :: Error => "error" ,
@@ -26,8 +26,8 @@ impl fmt::Display for NotificationLevel {
26
26
impl From < Level > for NotificationLevel {
27
27
fn from ( level : Level ) -> Self {
28
28
match level {
29
- Level :: TRACE => Self :: Debug ,
30
- Level :: DEBUG => Self :: Verbose ,
29
+ Level :: TRACE => Self :: Trace ,
30
+ Level :: DEBUG => Self :: Debug ,
31
31
Level :: INFO => Self :: Info ,
32
32
Level :: WARN => Self :: Warn ,
33
33
Level :: ERROR => Self :: Error ,
0 commit comments