Documentation ¶
Index ¶
- func Access(ctx *context.Context)
- func Debug(info ...interface{})
- func Debugf(template string, args ...interface{})
- func Error(err ...interface{})
- func Errorf(template string, args ...interface{})
- func Fatal(info ...interface{})
- func Fatalf(template string, args ...interface{})
- func Info(info ...interface{})
- func Infof(template string, args ...interface{})
- func InitWithConfig(cfg Config)
- func LogSQL(statement string, args []interface{})
- func OpenSQLLog()
- func Panic(info ...interface{})
- func Panicf(template string, args ...interface{})
- func SetRotate(cfg RotateCfg)
- func Warn(info ...interface{})
- func Warnf(template string, args ...interface{})
- type Config
- type EncoderCfg
- type Logger
- type RotateCfg
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitWithConfig ¶
func InitWithConfig(cfg Config)
Types ¶
type EncoderCfg ¶
type Logger ¶
func (*Logger) SetEncoder ¶
func (l *Logger) SetEncoder(cfg EncoderCfg)
Directories ¶
Path | Synopsis |
---|---|
internal/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.