#[cfg(feature = "enable_logging")]
macro_rules! lzma_trace {
($($arg:tt)+) => {
log::trace!($($arg)+);
}
}
#[cfg(feature = "enable_logging")]
macro_rules! lzma_debug {
($($arg:tt)+) => {
log::debug!($($arg)+);
}
}
#[cfg(feature = "enable_logging")]
macro_rules! lzma_info {
($($arg:tt)+) => {
log::info!($($arg)+);
}
}
#[cfg(not(feature = "enable_logging"))]
macro_rules! lzma_trace {
($($arg:tt)+) => {};
}
#[cfg(not(feature = "enable_logging"))]
macro_rules! lzma_debug {
($($arg:tt)+) => {};
}
#[cfg(not(feature = "enable_logging"))]
macro_rules! lzma_info {
($($arg:tt)+) => {};
}