package
0.0.5
Repository: https://github.com/hoaleee/zkevm-node.git
Documentation: pkg.go.dev

# Functions

Debug calls log.Debug on the root Logger.
Debugf calls log.Debugf on the root Logger.
Debugw calls log.Debugw on the root Logger.
Error calls log.Error on the root Logger.
Errorf calls log.Errorf on the root logger and stores the error message into the ErrorFile.
Errorw calls log.Errorw on the root Logger.
Fatal calls log.Fatal on the root Logger.
Fatalf calls log.Fatalf on the root Logger.
Fatalw calls log.Fatalw on the root Logger.
Info calls log.Info on the root Logger.
Infof calls log.Infof on the root Logger.
Infow calls log.Infow on the root Logger.
Init the logger with defined level.
NewLogger creates the logger with defined level.
Warn calls log.Warn on the root Logger.
Warnf calls log.Warnf on the root Logger.
Warnw calls log.Warnw on the root Logger.
WithFields returns a new Logger (derived from the root one) with additional fields as per keyValuePairs.

# Constants

EnvironmentDevelopment development log environment.
EnvironmentProduction production log environment.

# Structs

Config for log.
Logger is a wrapper providing logging facilities.

# Type aliases

LogEnvironment represents the possible log environments.