add console log event format hook

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk authored and strawberry committed 2025-01-01 23:28:01 -05:00
1 parent 9c6b5b4407
commit 203cf57fdf
4 files changed
+104 -6

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ pub use crate::{result::DebugInspect, utils::debug::*};
macro_rules! debug_event {
( $level:expr, $($x:tt)+ ) => {
if $crate::debug::logging() {
::tracing::event!( $level, $($x)+ )
::tracing::event!( $level, _debug = true, $($x)+ )
} else {
::tracing::debug!( $($x)+ )
}