Documentation ¶
Index ¶
- func Debug(msg string, fields ...zap.Field)
- func Error(msg string, fields ...zap.Field)
- func Fatal(msg string, fields ...zap.Field)
- func GetLogger() *zap.Logger
- func Info(msg string, fields ...zap.Field)
- func InitAppLogger(c *Config, opts ...zap.Option)
- func NewLogger(c *Config, opts ...zap.Option) *zap.Logger
- func Panic(msg string, fields ...zap.Field)
- func Sync()
- func Warn(msg string, fields ...zap.Field)
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitAppLogger ¶
InitAppLogger init default log
Types ¶
Click to show internal directories.
Click to hide internal directories.