logger

package
v0.0.0-...-a3f79bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2026 License: LGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ProgressLoggerDefaultReportFrequency = 15 * time.Second // how often will ticker trigger

)

Variables

This section is empty.

Functions

func MakeDbLogger

func MakeDbLogger[T any](cfg *utils.Config) executor.Extension[T]

MakeDbLogger creates an extensions which logs any Db transaction into a file and log level DEBUG

func MakeDeltaLogger

func MakeDeltaLogger[T any](cfg *utils.Config) executor.Extension[T]

MakeDeltaLogger creates an extension that produces delta-debugger compatible traces.

func MakeErrorLogger

func MakeErrorLogger[T any](cfg *utils.Config) executor.Extension[T]

func MakeEthStateTestLogger

func MakeEthStateTestLogger(cfg *utils.Config, testReportFrequency int) executor.Extension[txcontext.TxContext]

func MakeProgressLogger

func MakeProgressLogger[T any](cfg *utils.Config, reportFrequency time.Duration) executor.Extension[T]

MakeProgressLogger creates progress logger. It logs progress about processor depending on reportFrequency. If reportFrequency is 0, it is set to ProgressLoggerDefaultReportFrequency.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL