refactor: logparser v5 funcs
This commit is contained in:
@ -22,7 +22,7 @@ func NewJSONLog(r io.Reader) *JSON {
|
||||
return &JSON{reader: r}
|
||||
}
|
||||
|
||||
// Each yields records from a json reader.
|
||||
// Each sends the records from a reader to upstream.
|
||||
func (j *JSON) Each(yield func(Record) error) error {
|
||||
defer readClose(j.reader)
|
||||
|
||||
|
Reference in New Issue
Block a user