pub use crate::{
__debug as debug, __error as error, __info as info, __log_enabled as log_enabled,
__trace as trace, __warn as warn
};
#[repr(usize)]
#[derive(Copy, Clone, Eq, PartialEq, Debug, Hash)]
pub enum Level {
Error = 1,
Warn,
Info,
Debug,
Trace
}
#[doc(hidden)]
#[macro_export]
macro_rules! __log_enabled {
($lvl:expr) => {{
let _ = $lvl;
false
}};
}
#[doc(hidden)]
#[macro_export]
macro_rules! __error {
($($arg:tt)+) => {
#[cfg(feature = "std")]
{
}
};
}
#[doc(hidden)]
#[macro_export]
macro_rules! __warn {
($($arg:tt)+) => {
#[cfg(feature = "std")]
{
}
};
}
#[doc(hidden)]
#[macro_export]
macro_rules! __info {
($($arg:tt)+) => {};
}
#[doc(hidden)]
#[macro_export]
macro_rules! __debug {
($($arg:tt)+) => {};
}
#[doc(hidden)]
#[macro_export]
macro_rules! __trace {
($($arg:tt)+) => {};
}