modulepackage
0.0.0-20230104073735-afa5eee5ee8e
Repository: https://github.com/rdsutbbp/logx.git
Documentation: pkg.go.dev
# README
logx
# Functions
Check level check.
Core return log core.
Debug output debug message.
Debugf output debug message.
Debugw output debug message.
DPanic output dPanic message.
DPanicf output dPanic message.
DPanicw output dPanic message.
Error output error message.
Errorf output error message.
Errorw output error message.
Fatal output fatal message.
Fatalf output fatal message.
Fatalw output fatal message.
Info output info message.
Infof output info message.
Infow output info message.
Log output info message.
Logger return zap logger instance.
Named return zap instance.
Panic output panic message.
Panicf output panic message.
Panicw output panic message.
No description provided by the author
Sugar return zap SugaredLogger instance.
Sync log sync.
Warn output warn message.
Warnf output warn message.
Warnw output warn message.
With log with field.
WithOptions log with option.
# 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.
# Type aliases
No description provided by the author