mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-05-26 20:49:55 +00:00
add console log event format hook
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
+1
-1
@@ -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)+ )
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user