func (lei *LogEventIterator) Next(ctx context.Context) {
	lei.it.Next(ctx)
	lei.le.Release()
	lei.st = 0
}
Next switches to the next LogEvent record
package model
import (
	"context"
	"github.com/logrange/logrange/pkg/model/tag"
	"github.com/logrange/range/pkg/records"
	"io"
)
type (
	Iterator interface {
		Next(ctx context.Context)
		Get(ctx context.Context) (LogEvent, tag.Line, error)
		Release()
		SetBackward(bool)
		CurrentPos() records.IteratorPos
	}
	LogEventIterator struct {
		tags tag.Line
		it   records.Iterator
		st   int
		le   LogEvent
	}
)
func (lei *LogEventIterator) Wrap(tags tag.Line, it records.Iterator) *LogEventIterator {
	lei.tags = tags
	lei.it = it
	lei.st = 0
	return lei
}