tencentcloud_sms/
logging.rs1#[cfg(feature = "logging")]
7pub use tracing::{debug, error, info, warn};
8
9#[cfg(not(feature = "logging"))]
10#[macro_export]
12macro_rules! log_debug {
13 ($($arg:tt)*) => {{}};
14}
15
16#[cfg(not(feature = "logging"))]
17#[macro_export]
19macro_rules! log_info {
20 ($($arg:tt)*) => {{}};
21}
22
23#[cfg(not(feature = "logging"))]
24#[macro_export]
26macro_rules! log_warn {
27 ($($arg:tt)*) => {{}};
28}
29
30#[cfg(not(feature = "logging"))]
31#[macro_export]
33macro_rules! log_error {
34 ($($arg:tt)*) => {{}};
35}
36
37#[cfg(not(feature = "logging"))]
39pub use log_debug as debug;
40#[cfg(not(feature = "logging"))]
41pub use log_error as error;
42#[cfg(not(feature = "logging"))]
43pub use log_info as info;
44#[cfg(not(feature = "logging"))]
45pub use log_warn as warn;