loggers

package
v0.0.0-release-2024-04... Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	P2P            = "p2p"
	Consensus      = "consensus"
	Executor       = "executor"
	Governance     = "governance"
	App            = "app"
	API            = "api"
	CoreAPI        = "coreapi"
	Storage        = "storage"
	Profile        = "profile"
	Finance        = "finance"
	BlockSync      = "blocksync"
	Access         = "access"
	TxPool         = "txpool"
	Epoch          = "epoch"
	SystemContract = "system_contract"
)

Variables

This section is empty.

Functions

func Initialize

func Initialize(ctx context.Context, rep *repo.Repo, persist bool) error

func InitializeEthLog

func InitializeEthLog(logger *logrus.Entry)

func Logger

func Logger(name string) logrus.FieldLogger

Types

type LoggerWrapper

type LoggerWrapper struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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