Documentation ¶
Index ¶
- func Debug(ctx context.Context, format string, a ...interface{})
- func Default(appName string)
- func Error(ctx context.Context, format string, a ...interface{})
- func GinLogger() gin.HandlerFunc
- func Info(ctx context.Context, format string, a ...interface{})
- func InfoLevelEnabler() zap.LevelEnablerFunc
- func Init(options ...Option)
- func Warn(ctx context.Context, format string, a ...interface{})
- func WarnLevelEnabler() zap.LevelEnablerFunc
- type Config
- type Logger
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InfoLevelEnabler ¶
func InfoLevelEnabler() zap.LevelEnablerFunc
func WarnLevelEnabler ¶
func WarnLevelEnabler() zap.LevelEnablerFunc
Types ¶
Directories ¶
Path | Synopsis |
---|---|
Package encoder copy from zapcore.jsonEncoder
|
Package encoder copy from zapcore.jsonEncoder |
bufferpool
Package bufferpool houses zap's shared internal buffer pool.
|
Package bufferpool houses zap's shared internal buffer pool. |
Click to show internal directories.
Click to hide internal directories.