#[macro_export]
macro_rules! debug {
( $fmt:expr ) => {
$crate::wrapped::debug( std::format!($fmt) )
};
( $fmt:expr, $($args:tt)* ) => {
$crate::wrapped::debug( std::format!($fmt, $($args)*) )
};
}
#[macro_export]
macro_rules! warn {
( $fmt:expr ) => {
$crate::wrapped::warn( std::format!($fmt) )
};
( $fmt:expr, $($args:tt)* ) => {
$crate::wrapped::warn( std::format!($fmt, $($args)*) )
};
}
#[macro_export]
macro_rules! info {
( $fmt:expr ) => {
$crate::wrapped::info( std::format!($fmt) )
};
( $fmt:expr, $($args:tt)* ) => {
$crate::wrapped::info( std::format!($fmt, $($args)*) )
};
}
#[macro_export]
macro_rules! error {
( $fmt:expr ) => {
$crate::wrapped::error( std::format!($fmt) )
};
( $fmt:expr, $($args:tt)* ) => {
$crate::wrapped::error( std::format!($fmt, $($args)*))
};
}