📝 Align API docs with updated interface template

This commit is contained in:
Nanaloveyuki
2026-05-12 13:20:36 +08:00
parent 8dbadd5938
commit 4d913aa642
47 changed files with 2228 additions and 406 deletions
-18
View File
@@ -30,24 +30,6 @@ pub fn[S] Logger::with_filter(self : Logger[S], predicate : (Record) -> Bool) ->
- `Logger[FilterSink[S]]` - A new logger that only forwards matching records.
---
e.g.:
```moonbit
pub fn[S] Logger::with_filter(self : Logger[S], predicate : (Record) -> Bool) -> Logger[FilterSink[S]] {}
```
#### input
- `self : Logger[S]` - Logger to filter.
- `predicate : (Record) -> Bool` - Acceptance rule.
#### output
- `Logger[FilterSink[S]]` - Logger with predicate filtering.
---
### Explanation
Detailed rules explaining key parameters and behaviors