log

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: May 30, 2025 License: GPL-3.0, LGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Logger

type Logger struct {
	ethlog.Logger
	// contains filtered or unexported fields
}

func InitLogger

func InitLogger(alias string, level string, jsonFormat bool, writer io.Writer) (Logger, error)

InitLogger initializes logger with alias and sets the log level and format with the original os.StdErr interface along with the context logger.

func (*Logger) SetLogLevel

func (l *Logger) SetLogLevel(level string) error

SetLogLevel sets the log level of initialized log handler.

Jump to

Keyboard shortcuts

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