func (f *FakeLogStorage) GetActiveLogIDs(ctx context.Context) ([]int64, error) {
	return nil, ErrNotImplemented
}
GetActiveLogIDs implements LogStorage.GetActiveLogIDs.
package testonly
import (
	"context"
	"errors"
	"time"
	"github.com/google/trillian"
	"github.com/google/trillian/storage"
	"google.golang.org/grpc/codes"
	"google.golang.org/grpc/status"
)
func RunOnLogTX(tx storage.LogTreeTX) func(ctx context.Context, treeID int64, f storage.LogTXFunc) error {
	return func(ctx context.Context, _ int64, f storage.LogTXFunc) error {
		defer tx.Close()
		if err := f(ctx, tx); err != nil {
			return err
		}
		return tx.Commit(ctx)
	}
}
func RunOnAdminTX(tx storage.AdminTX) func(ctx context.Context, f storage.AdminTXFunc) error {
	return func(ctx context.Context, f storage.AdminTXFunc) error {
		defer tx.Close()
		if err := f(ctx, tx); err != nil {
			return err
		}
		return tx.Commit()
	}
}
var ErrNotImplemented = errors.New("not implemented")
type FakeLogStorage struct {
	TX         storage.LogTreeTX
	ReadOnlyTX storage.ReadOnlyLogTreeTX
	TXErr                 error
	QueueLeavesErr        error
	AddSequencedLeavesErr error
}