feat: CLI/test262 全管线接入结构化日志

This commit is contained in:
爱特每羊队
2026-06-27 09:39:08 +08:00
parent a032a0a0fe
commit a34d54784c
6 changed files with 74 additions and 6 deletions
+20
View File
@@ -0,0 +1,20 @@
#[macro_export]
macro_rules! test262_error {
($($arg:tt)*) => {
oxide_log::__log_event!("oxide::test262", oxide_log::tracing::Level::ERROR, $($arg)*)
};
}
#[macro_export]
macro_rules! test262_info {
($($arg:tt)*) => {
oxide_log::__log_event!("oxide::test262", oxide_log::tracing::Level::INFO, $($arg)*)
};
}
#[macro_export]
macro_rules! test262_debug {
($($arg:tt)*) => {
oxide_log::__log_event!("oxide::test262", oxide_log::tracing::Level::DEBUG, $($arg)*)
};
}