@@ -4,8 +4,8 @@ use tracing::Level;
44
55#[ derive( Debug ) ]
66pub ( crate ) enum NotificationLevel {
7+ Trace ,
78 Debug ,
8- Verbose ,
99 Info ,
1010 Warn ,
1111 Error ,
@@ -14,8 +14,8 @@ pub(crate) enum NotificationLevel {
1414impl fmt:: Display for NotificationLevel {
1515 fn fmt ( & self , f : & mut std:: fmt:: Formatter < ' _ > ) -> fmt:: Result {
1616 f. write_str ( match self {
17+ NotificationLevel :: Trace => "trace" ,
1718 NotificationLevel :: Debug => "debug" ,
18- NotificationLevel :: Verbose => "verbose" ,
1919 NotificationLevel :: Info => "info" ,
2020 NotificationLevel :: Warn => "warning" ,
2121 NotificationLevel :: Error => "error" ,
@@ -26,8 +26,8 @@ impl fmt::Display for NotificationLevel {
2626impl From < Level > for NotificationLevel {
2727 fn from ( level : Level ) -> Self {
2828 match level {
29- Level :: TRACE => Self :: Debug ,
30- Level :: DEBUG => Self :: Verbose ,
29+ Level :: TRACE => Self :: Trace ,
30+ Level :: DEBUG => Self :: Debug ,
3131 Level :: INFO => Self :: Info ,
3232 Level :: WARN => Self :: Warn ,
3333 Level :: ERROR => Self :: Error ,
0 commit comments