add event macro log wrapper suite
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
parent
9438dc89e6
commit
0e616f1d12
|
@ -27,6 +27,11 @@ pub struct Log {
|
|||
// necessary but discouraged. Remember debug_ log macros are also exported to
|
||||
// the crate namespace like these.
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! event {
|
||||
( $level:expr, $($x:tt)+ ) => { ::tracing::event!( $level, $($x)+ ) }
|
||||
}
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! error {
|
||||
( $($x:tt)+ ) => { ::tracing::error!( $($x)+ ) }
|
||||
|
|
Loading…
Reference in New Issue