Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Log *zap.SugaredLogger
)
日志对象
Functions ¶
func InitLogger ¶
func InitLogger(logPath string, isDebug bool) (*zap.SugaredLogger, error)
InitLogger 日志初始化,用于记录操作日志
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.