log

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EthLogLvlToZerolog

func EthLogLvlToZerolog(lvl ethlog.Lvl) zerolog.Level

func NewHandler

func NewHandler(logger tmlog.Logger) ethlog.Handler

Types

type Handler

type Handler struct {
	*server.ZeroLogWrapper
}

Logger wraps the zero log Wrapper and extends it to support the ethereum logger interface.

func (*Handler) Log

func (h *Handler) Log(r *ethlog.Record) error

Log implements the go-ethereum Logger Handler interface

Jump to

Keyboard shortcuts

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