log

package
v0.0.0-...-3b1bc8a Latest Latest
Warning

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

Go to latest
Published: Nov 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