docs: 添加 Rustdoc 注释

This commit is contained in:
爱特每羊队
2026-08-05 21:46:47 +08:00
parent bbdfca1a1c
commit f461235f04
158 changed files with 1440 additions and 15 deletions
+5
View File
@@ -1,3 +1,8 @@
//! 内部日志转发宏。
//!
//! [`__log_event`] 是 `$crate::tracing::event!` 的薄封装,供外部 crate 统一
//! 转发日志事件,避免各处直接依赖 `tracing` 的路径。
#[macro_export]
macro_rules! __log_event {
($target:expr, $level:expr, $($arg:tt)*) => {