func (lei *LogEventIterator) Get(ctx context.Context) (LogEvent, tag.Line, error) {
	if lei.st == 1 {
		return lei.le, lei.tags, nil
	}
	rec, err := lei.it.Get(ctx)
	if err == nil {
		_, err = lei.le.Unmarshal(rec, false)
	}
	return lei.le, lei.tags, err
}
Get returns current 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
}
func (lei *LogEventIterator) Next(ctx context.Context) {
	lei.it.Next(ctx)
	lei.le.Release()
	lei.st = 0
}