Versions in this module Expand all Collapse all v1 v1.0.1 Sep 18, 2024 v1.0.0 May 17, 2024 Changes in this version + const MetricsSubsystem + var ErrLogPruned = errors.New("log pruned") + var ErrStopScan = errors.New("stop scanning") + func FindType(events []abci.Event) (string, bool) + type ABCIEventer interface + ABCIEvents func() []abci.Event + type Info struct + Newest cursor.Cursor + Oldest cursor.Cursor + Size int + type Item struct + Cursor cursor.Cursor + Data types.EventData + Events []abci.Event + Type string + type Log struct + func New(opts LogSettings) (*Log, error) + func (lg *Log) Add(etype string, data types.EventData) error + func (lg *Log) Info() Info + func (lg *Log) Scan(f func(*Item) error) (Info, error) + func (lg *Log) WaitScan(ctx context.Context, c cursor.Cursor, f func(*Item) error) (Info, error) + type LogSettings struct + MaxItems int + Metrics *Metrics + Source cursor.Source + WindowSize time.Duration + type Metrics struct + func NopMetrics() *Metrics + func PrometheusMetrics(namespace string, labelsAndValues ...string) *Metrics