Open-source Android PDF and document toolkit with PDF tools, Office viewing, XLSX editing, scanning, and image editing. Built with Kotlin and Jetpack Compose.
Rust androiddocument-scannerdocximage-editorjetpack-composekotlinliquid-glassofflineopen-sourcepdfpdf-compressorpdf-editorpdf-mergerpdf-readerpdf-splitterpdf-toolspdf-viewerpptxspreadsheet-editorxlsx
//! Logging macros that optionally forward to the `log` crate.
macro_rules! error {
($fmt:literal $(, $($arg:expr),* $(,)?)?) => {{
#[cfg(feature = "logging")]
{
::log::error!($fmt $(, $($arg),*)?);
}
#[cfg(not(feature = "logging"))]
{
$($(let _ = &$arg;)*)?
}
}};
}
macro_rules! warn {
($fmt:literal $(, $($arg:expr),* $(,)?)?) => {{
#[cfg(feature = "logging")]
{
::log::warn!($fmt $(, $($arg),*)?);
}
#[cfg(not(feature = "logging"))]
{
$($(let _ = &$arg;)*)?
}
}};
}