File tree 2 files changed +9
-9
lines changed
2 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -18,24 +18,24 @@ use opentelemetry_sdk::trace::Tracer;
18
18
19
19
use crate :: { currentprocess:: Process , utils:: notify:: NotificationLevel } ;
20
20
21
- macro_rules! warn {
22
- ( $ ( $ arg : tt ) * ) => ( :: tracing:: warn ! ( $ ( $ arg ) * ) )
21
+ macro_rules! debug {
22
+ ( $ ( $ arg : tt ) * ) => ( :: tracing:: trace ! ( $ ( $ arg ) * ) )
23
23
}
24
24
25
- macro_rules! err {
26
- ( $ ( $ arg : tt ) * ) => ( :: tracing:: error ! ( $ ( $ arg ) * ) )
25
+ macro_rules! verbose {
26
+ ( $ ( $ arg : tt ) * ) => ( :: tracing:: debug ! ( $ ( $ arg ) * ) )
27
27
}
28
28
29
29
macro_rules! info {
30
30
( $ ( $ arg : tt ) * ) => ( :: tracing:: info ! ( $ ( $ arg ) * ) )
31
31
}
32
32
33
- macro_rules! verbose {
34
- ( $ ( $ arg : tt ) * ) => ( :: tracing:: debug ! ( $ ( $ arg ) * ) )
33
+ macro_rules! warn {
34
+ ( $ ( $ arg : tt ) * ) => ( :: tracing:: warn ! ( $ ( $ arg ) * ) )
35
35
}
36
36
37
- macro_rules! debug {
38
- ( $ ( $ arg : tt ) * ) => ( :: tracing:: trace ! ( $ ( $ arg ) * ) )
37
+ macro_rules! err {
38
+ ( $ ( $ arg : tt ) * ) => ( :: tracing:: error ! ( $ ( $ arg ) * ) )
39
39
}
40
40
41
41
pub fn tracing_subscriber ( process : Process ) -> impl tracing:: Subscriber {
Original file line number Diff line number Diff line change @@ -4,11 +4,11 @@ use tracing::Level;
4
4
5
5
#[ derive( Debug ) ]
6
6
pub ( crate ) enum NotificationLevel {
7
+ Debug ,
7
8
Verbose ,
8
9
Info ,
9
10
Warn ,
10
11
Error ,
11
- Debug ,
12
12
}
13
13
14
14
impl fmt:: Display for NotificationLevel {
You can’t perform that action at this time.
0 commit comments