Add an nih_trace!() macro
This commit is contained in:
parent
3264bee810
commit
54bab5ff6d
|
@ -15,6 +15,15 @@ macro_rules! nih_log {
|
|||
);
|
||||
}
|
||||
|
||||
/// The same as `nih_log!()`, but with source and thread information. Like the
|
||||
/// `nih_debug_assert*!()` macros, this is only shown when compiling in debug mode.
|
||||
#[macro_export]
|
||||
macro_rules! nih_trace {
|
||||
($($args:tt)*) => (
|
||||
$crate::log::trace!($($args)*)
|
||||
);
|
||||
}
|
||||
|
||||
/// A `debug_assert!()` analogue that prints the error with line number information instead of
|
||||
/// panicking.
|
||||
///
|
||||
|
|
|
@ -5,6 +5,7 @@ pub use crate::nih_debug_assert_failure;
|
|||
pub use crate::nih_debug_assert_ne;
|
||||
pub use crate::nih_export_clap;
|
||||
pub use crate::nih_log;
|
||||
pub use crate::nih_trace;
|
||||
|
||||
#[cfg(feature = "vst3")]
|
||||
pub use crate::nih_export_vst3;
|
||||
|
|
Loading…
Reference in a new issue