package
1.2.0
Repository: https://github.com/iden3/prover-server.git
Documentation: pkg.go.dev

# Functions

Debug calls log.Debug.
Debugf calls log.Debugf.
Debugw calls log.Debugw.
Error calls log.Error.
Errorf calls log.Errorf and stores the error message into the ErrorFile.
Errorw calls log.Errorw.
Fatal calls log.Fatal.
Fatalf calls log.Warnf.
Fatalw calls log.Fatalw.
GetRequestIDFromContext extracts requestID from context.
Info calls log.Info.
Infof calls log.Infof.
Infow calls log.Infow.
NewLogger creates the logger with defined level.
Panic calls log.Panic.
SetLevel sets level.
SetLevelStr sets level of default logger from level name Valid values: debug, info, warn, error, dpanic, panic, fatal.
Warn calls log.Warn.
Warnf calls log.Warnf.
Warnw calls log.Warnw.
WithContext creates logger with context.

# Constants

DebugLevel logs are typically voluminous, and are usually disabled in production.
DPanicLevel logs are particularly important errors.
ErrorLevel logs are high-priority.
FatalLevel logs a message, then calls os.Exit(1).
InfoLevel is the default logging priority.
PanicLevel logs a message, then panics.
WarnLevel logs are more important than Info, but don't need individual human review.

# Structs

ContextLogger is logger that will use context for additional fields.

# Type aliases

Level is log level for any logger.