(entries []loggedRequest)
| 205 | } |
| 206 | |
| 207 | func (s *state) appendLog(entries []loggedRequest) error { |
| 208 | return appendJSONL(s.logPath(), entries) |
| 209 | } |
| 210 | |
| 211 | func (s *state) readLog() ([]loggedRequest, error) { |
| 212 | return readJSONL[loggedRequest](s.logPath()) |