1#[macro_export]
2macro_rules! event {
3 ($($args:tt)*) => {
4 if false {
5 $crate::__tracing::event!($($args)*);
6 }
7 };
8}
9
10#[macro_export]
11macro_rules! error {
12 ($($args:tt)*) => {
13 if false {
14 $crate::__tracing::error!($($args)*);
15 }
16 };
17}
18
19#[macro_export]
20macro_rules! warn {
21 ($($args:tt)*) => {
22 if false {
23 $crate::__tracing::warn!($($args)*);
24 }
25 };
26}
27
28#[macro_export]
29macro_rules! info {
30 ($($args:tt)*) => {
31 if false {
32 $crate::__tracing::info!($($args)*);
33 }
34 };
35}
36
37#[macro_export]
38macro_rules! debug {
39 ($($args:tt)*) => {
40 if false {
41 $crate::__tracing::debug!($($args)*);
42 }
43 };
44}
45
46#[macro_export]
47macro_rules! trace {
48 ($($args:tt)*) => {
49 if false {
50 $crate::__tracing::trace!($($args)*);
51 }
52 };
53}
54
55#[macro_export]
56macro_rules! span {
57 ($($args:tt)*) => {{
58 if false {
59 $crate::__tracing::span!($($args)*)
60 } else {
61 $crate::Span::none()
62 }
63 }};
64}
65
66#[macro_export]
67macro_rules! error_span {
68 ($($args:tt)*) => {
69 if false {
70 $crate::__tracing::error_span!($($args)*)
71 } else {
72 $crate::Span::none()
73 }
74 };
75}
76
77#[macro_export]
78macro_rules! warn_span {
79 ($($args:tt)*) => {
80 if false {
81 $crate::__tracing::warn_span!($($args)*)
82 } else {
83 $crate::Span::none()
84 }
85 };
86}
87
88#[macro_export]
89macro_rules! info_span {
90 ($($args:tt)*) => {
91 if false {
92 $crate::__tracing::info_span!($($args)*)
93 } else {
94 $crate::Span::none()
95 }
96 };
97}
98
99#[macro_export]
100macro_rules! debug_span {
101 ($($args:tt)*) => {
102 if false {
103 $crate::__tracing::debug_span!($($args)*)
104 } else {
105 $crate::Span::none()
106 }
107 };
108}
109
110#[macro_export]
111macro_rules! trace_span {
112 ($($args:tt)*) => {
113 if false {
114 $crate::__tracing::trace_span!($($args)*)
115 } else {
116 $crate::Span::none()
117 }
118 };
119}