mirror of
https://github.com/Nanaloveyuki/BitLogger.git
synced 2026-05-30 15:42:25 +00:00
📝 Align API docs with updated interface template
This commit is contained in:
@@ -30,24 +30,6 @@ pub fn[S] Logger::with_target(self : Logger[S], target : String) -> Logger[S] {}
|
||||
|
||||
- `Logger[S]` - A new logger value carrying the updated target.
|
||||
|
||||
---
|
||||
|
||||
e.g.:
|
||||
```moonbit
|
||||
pub fn[S] Logger::with_target(self : Logger[S], target : String) -> Logger[S] {}
|
||||
```
|
||||
|
||||
#### input
|
||||
|
||||
- `self : Logger[S]` - Current logger.
|
||||
- `target : String` - Replacement target.
|
||||
|
||||
#### output
|
||||
|
||||
- `Logger[S]` - Retargeted logger.
|
||||
|
||||
---
|
||||
|
||||
### Explanation
|
||||
|
||||
Detailed rules explaining key parameters and behaviors
|
||||
|
||||
Reference in New Issue
Block a user