modulepackage
0.0.0-20190624094811-bef6213b22f2
Repository: https://github.com/go-framework/zap.git
Documentation: pkg.go.dev
# Functions
Debug uses fmt.Sprint to construct and log a message.
Debugf uses fmt.Sprintf to log a templated message.
Debugln uses fmt.Sprint to construct and log a message.
DPanic uses fmt.Sprint to construct and log a message.
DPanicf uses fmt.Sprintf to log a templated message.
DPanicln uses fmt.Sprint to construct and log a message.
Error uses fmt.Sprint to construct and log a message.
Errorf uses fmt.Sprintf to log a templated message.
Errorln uses fmt.Sprint to construct and log a message.
Fatal uses fmt.Sprint to construct and log a message, then calls os.Exit.
Fatalf uses fmt.Sprintf to log a templated message, then calls os.Exit.
Fatalln uses fmt.Sprint to construct and log a message, then calls os.Exit.
Get debug zap config is in debug mode and enable console stdout.
Get default zap config is in production mode, but enable console stdout.
Info uses fmt.Sprint to construct and log a message.
Infof uses fmt.Sprintf to log a templated message.
Infoln uses fmt.Sprint to construct and log a message.
No description provided by the author
new sugared logger by default zap config.
new zap logger with config.
Panic uses fmt.Sprint to construct and log a message, then panics.
Panicf uses fmt.Sprintf to log a templated message, then panics.
Panicln uses fmt.Sprint to construct and log a message, then panics.
Print uses fmt.Sprint to construct and log a message.
Printf uses fmt.Sprintf to log a templated message.
Println uses fmt.Sprint to construct and log a message.
No description provided by the author
Warn uses fmt.Sprint to construct and log a message.
Warnf uses fmt.Sprintf to log a templated message.
Warnln uses fmt.Sprint to construct and log a message.
With adds a variadic number of fields to the logging 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.
# Variables
Default logger use zap sugar.
Default zap config.
No description provided by the author
No description provided by the author
# Structs
Atomic level message.
Zap logger config.
Empty message.
Default sugared logger.
# Interfaces
LevelServiceClient is the client API for LevelService service.
LevelServiceServer is the server API for LevelService service.