Versions in this module Expand all Collapse all v1 v1.0.1 Aug 8, 2022 v1.0.0 Aug 4, 2022 Changes in this version + var DefaultTimestampFormat = "2006-01-02T15:04:05.000Z07:00" + var ErrConstructQuery = errors.New("error forming db query from api query") + var ErrInsert = errors.New("error inserting into the db") + var ErrQuery = errors.New("error querying from the database") + var ErrReadOnlyStorage = errors.New("error read only storage") + type Log struct + Date time.Time + JobID uint64 + LogData string + LogLevel string + type Query struct + EndDate *time.Time + JobID *uint64 + LogLevel *string + Page uint + PageSize uint + StartDate *time.Time + Text *string + type Result struct + Count uint64 + Logs []Log + Page uint + PageSize uint + type Storage interface + Close func(ctx xcontext.Context) error + GetLogs func(ctx xcontext.Context, query Query) (*Result, error) + StoreLog func(ctx xcontext.Context, entry Log) error