Documentation ¶
Index ¶
- Variables
- func Debug(msg string, fields ...zap.Field)
- func Error(msg string, fields ...zap.Field)
- func GetLogger() *zap.Logger
- func Info(msg string, fields ...zap.Field)
- func JsonLoggerInit(env string)
- func LoggerInit(env, dir, service, when string)
- func SetLogger(logger2 *zap.Logger)
- func Warn(msg string, fields ...zap.Field)
Constants ¶
This section is empty.
Variables ¶
View Source
var Closer zl.Closer
Functions ¶
func JsonLoggerInit ¶
func JsonLoggerInit(env string)
func LoggerInit ¶
func LoggerInit(env, dir, service, when string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.