112a9d9c8Sopenharmony_ci#![allow(unused)]
212a9d9c8Sopenharmony_ci
312a9d9c8Sopenharmony_cimacro_rules! log {
412a9d9c8Sopenharmony_ci    (target: $target:expr, $lvl:expr, $($arg:tt)+) => {{
512a9d9c8Sopenharmony_ci        let _ = $target;
612a9d9c8Sopenharmony_ci        let _ = log!($lvl, $($arg)+);
712a9d9c8Sopenharmony_ci    }};
812a9d9c8Sopenharmony_ci    ($lvl:expr, $($arg:tt)+) => {{
912a9d9c8Sopenharmony_ci        let _ = $lvl;
1012a9d9c8Sopenharmony_ci        let _ = format_args!($($arg)+);
1112a9d9c8Sopenharmony_ci    }};
1212a9d9c8Sopenharmony_ci}
1312a9d9c8Sopenharmony_cimacro_rules! error {
1412a9d9c8Sopenharmony_ci    (target: $target:expr, $($arg:tt)+) => { log!(target: $target, "", $($arg)+) };
1512a9d9c8Sopenharmony_ci    ($($arg:tt)+) => { log!("", $($arg)+) };
1612a9d9c8Sopenharmony_ci}
1712a9d9c8Sopenharmony_cimacro_rules! warn {
1812a9d9c8Sopenharmony_ci    (target: $target:expr, $($arg:tt)*) => { log!(target: $target, "", $($arg)*) };
1912a9d9c8Sopenharmony_ci    ($($arg:tt)*) => { log!("", $($arg)*) };
2012a9d9c8Sopenharmony_ci}
2112a9d9c8Sopenharmony_cimacro_rules! info {
2212a9d9c8Sopenharmony_ci    (target: $target:expr, $($arg:tt)+) => { log!(target: $target, "", $($arg)+) };
2312a9d9c8Sopenharmony_ci    ($($arg:tt)+) => { log!("", $($arg)+) };
2412a9d9c8Sopenharmony_ci}
2512a9d9c8Sopenharmony_cimacro_rules! debug {
2612a9d9c8Sopenharmony_ci    (target: $target:expr, $($arg:tt)+) => { log!(target: $target, "", $($arg)+) };
2712a9d9c8Sopenharmony_ci    ($($arg:tt)+) => { log!("", $($arg)+) };
2812a9d9c8Sopenharmony_ci}
2912a9d9c8Sopenharmony_cimacro_rules! trace {
3012a9d9c8Sopenharmony_ci    (target: $target:expr, $($arg:tt)+) => { log!(target: $target, "", $($arg)+) };
3112a9d9c8Sopenharmony_ci    ($($arg:tt)+) => { log!("", $($arg)+) };
3212a9d9c8Sopenharmony_ci}
33