mitigate additional debuginfo expansions
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
576a783a6f
commit
8e7373c027
8 changed files with 13 additions and 6 deletions
|
@ -12,6 +12,7 @@ pub use crate::{result::DebugInspect, utils::debug::*};
|
|||
/// Log event at given level in debug-mode (when debug-assertions are enabled).
|
||||
/// In release-mode it becomes DEBUG level, and possibly subject to elision.
|
||||
#[macro_export]
|
||||
#[collapse_debuginfo(yes)]
|
||||
macro_rules! debug_event {
|
||||
( $level:expr_2021, $($x:tt)+ ) => {
|
||||
if $crate::debug::logging() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue