允许使用通配符允许全部日志

This commit is contained in:
ling committed 2025-12-25 18:42:43 +08:00
1 parent 5f0b381cfd
commit 7086053f90
1 file changed
+3
+3
View File
@@ -32,6 +32,9 @@ macro_rules! make_write {
fn make_filter() -> FilterFn {
FilterFn::new(|metadata| {
let name = unsafe { MODULE_NAME };
if name.eq("*") {
return true;
}
let target = metadata.target();
target.starts_with(name)