♻️ sync owner migration and facade thinning

This commit is contained in:
Nanaloveyuki
2026-07-07 20:03:22 +08:00
parent 5d9924026e
commit e3097ba4fc
79 changed files with 5255 additions and 3191 deletions
+10 -10
View File
@@ -1,47 +1,47 @@
///|
pub type RecordPredicate = @utils.RecordPredicate
pub type RecordPredicate = @record_ops.RecordPredicate
///|
pub fn level_at_least(min_level : Level) -> RecordPredicate {
@utils.level_at_least(min_level)
@record_ops.level_at_least(min_level)
}
///|
pub fn target_is(target : String) -> RecordPredicate {
@utils.target_is(target)
@record_ops.target_is(target)
}
///|
pub fn target_has_prefix(prefix : String) -> RecordPredicate {
@utils.target_has_prefix(prefix)
@record_ops.target_has_prefix(prefix)
}
///|
pub fn message_contains(fragment : String) -> RecordPredicate {
@utils.message_contains(fragment)
@record_ops.message_contains(fragment)
}
///|
pub fn has_field(key : String) -> RecordPredicate {
@utils.has_field(key)
@record_ops.has_field(key)
}
///|
pub fn field_equals(key : String, value : String) -> RecordPredicate {
@utils.field_equals(key, value)
@record_ops.field_equals(key, value)
}
///|
pub fn not_(predicate : RecordPredicate) -> RecordPredicate {
@utils.not_(predicate)
@record_ops.not_(predicate)
}
///|
pub fn all_of(predicates : Array[RecordPredicate]) -> RecordPredicate {
@utils.all_of(predicates)
@record_ops.all_of(predicates)
}
///|
pub fn any_of(predicates : Array[RecordPredicate]) -> RecordPredicate {
@utils.any_of(predicates)
@record_ops.any_of(predicates)
}