Documentation
¶
Index ¶
- func Debug(args ...interface{})
- func Debugf(template string, args ...interface{})
- func Error(args ...interface{})
- func Errorf(template string, args ...interface{})
- func Fatal(args ...interface{})
- func Fatalf(template string, args ...interface{})
- func Info(args ...interface{})
- func Infof(template string, args ...interface{})
- func Init()
- func IsDebug() bool
- func NewErrorDispatcher(base zapcore.Core, err zapcore.Core) zapcore.Core
- func Panic(args ...interface{})
- func Panicf(template string, args ...interface{})
- func Warn(args ...interface{})
- func Warnf(template string, args ...interface{})
- type ZapLogConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ZapLogConfig ¶
type ZapLogConfig struct {
zap.Config `json:",inline" yaml:",inline"`
ErrorDispatcherPaths []string `json:"errorDispatcherPaths" yaml:"errorDispatcherPaths"`
}
func (*ZapLogConfig) Build ¶
func (c *ZapLogConfig) Build(options ...zap.Option) (*zap.SugaredLogger, error)
Click to show internal directories.
Click to hide internal directories.